Dear Maintainer,
I tried to use aapt2 provided by android-sdk-build-tools, but it does
not seem able to parse the android.jar provided by never sdks.
Example of error message
/usr/bin/aapt2 compile --dir app/src/main/res -o build2/res-compiled.zip
/usr/bin/aapt2 link -I
/usr/lib/android-sdk/platforms/android-36/android.jar --manifest
build2/AndroidManifest.xml --min-sdk-version 23 -o build2/apk/base.apk
--auto-add-overlay --java build2/gen --proguard build2/aapt.pro
build2/res-comp
iled.zip
08-26 08:27:22.013 81514 81514 E aapt2 : LoadedArsc.cpp:94
RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data.
08-26 08:27:22.013 81514 81514 E aapt2 : ApkAssets.cpp:149 Failed to
load resources table in APK
'/usr/lib/android-sdk/platforms/android-36/android.jar'.
error: failed to load include path
/usr/lib/android-sdk/platforms/android-36/android.jar.
On the other hand aapt2 provided by
google-android-build-tools-37.0.0-installer
has no issues working with
/usr/lib/android-sdk/platforms/android-36/android.jar
Since aapt2 does not support --help, I'm not sure which version are
provided by the mentioned packages.