Simple termux package to build apks.
apk-builder --j src --r res --m AndroidManifest.xml --i $PREFIX/share/java/android-24.jar --obj obj --k main.ks --kp 12345678
--j argument (str): path to .java file
--r argument (str): path to resources
--m argument (str): path to manifest
--i argument (str): path to android.jar
--obj argument (str): path to folder where you want to store object files
--k argument (str): path to keystore file
--kp argument (int): keystore password