You can try to execute the aapt command manually as follows:
$LIBS"aapt" package -f -m -F output_unsigned.apk --auto-add-overlay -S main/res -J Temp/gen -G Temp/android-aapt.pro -A Temp/assets -M Temp/AndroidManifest.xml -I $LIBS"android.jar"
In my case (under linux):
- $ LIBS "aapt" is the path to the aapt file
- output_unsigned.apk - where to save the created APK
- android-aapt.pro - this is where to save the configuration for proguard
- Temp / gen, Temp / assets are my folders with projects for Android.
- Temp / AndroidManifest.xml - desired manifest
- $ LIBS "android.jar" is the JAR library for the requested Android API level.
This may not work for you out of the box, but I hope this helps you get started with it. See the help system for more information.
source share