This is a minimalistic Android project template. The final APK weights 8.3 KiB, whereas a basic empty project created in Android Studio consists of hundreds of files and results in a 1.4MiB APK. It is based on a Habrahabr article, all the details are described there, but this project might be more convenient to use on GNU/Linux.
- Install Java Development Kit
- Install Android Software Development Kit
- Open Makefile and set the variables accordingly to your settings
- Connect an Android device or emulator
- Run
make
Of course, it is more convenient to develop using Android Studio. But if the project is already written, and you want to save some mebibytes on user's devices, removing useless source files may be an easy way to make your program a bit less bloated.