You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug aapt2 tool used in bundletool-all-1.18.0.jar can't build APK for Android API35
bundletool-all-1.18.0.jar/macos/aapt2 version
Android Asset Packaging Tool (aapt) 2.19-9193536
bundletool-all-1.18.0.jar/macos/aapt2 link --proto-format -o ../test/NoExtensions/aab/aapt2/apk/output.apk -I ../bndl/android.jar --manifest ../test/NoExtensions/AndroidManifest.xml --auto-add-overlay -R @../test/NoExtensions/aab/compiled_resources.txt
aapt2 E 01-21 10:49:10 48967 6683595 LoadedArsc.cpp:94] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data.
aapt2 E 01-21 10:49:10 48967 6683595 ApkAssets.cpp:152] Failed to load resources table in APK '../bndl/android.jar'.
error: failed to load include path ../bndl/android.jar.
But aapt2 from build-tools 35.0.1 works fine:
/aapt2 version
Android Asset Packaging Tool (aapt) 2.19-12874835
Bundletool version(s) affected
Version: 1.18.0
Stacktrace
Copy all of the output of the command, including the stacktrace if visible.
To Reproduce
Try to build apk using aapt2 tool (see example above)
Expected behavior bundletool-all-1.*.*.jar contains aapt2 tool that works with the latest stable SDK release
Known workaround
Use aapt2 from build-tools 35.0.1
Environment:
OS: macos 15.2
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
AGulev
changed the title
aapt2 version inconsistency (can't build apk for API35)
Old version of the aapt2 tool (can't build apk for API35)
Jan 21, 2025
Describe the bug
aapt2
tool used inbundletool-all-1.18.0.jar
can't build APK for Android API35But
aapt2
frombuild-tools
35.0.1 works fine:Bundletool version(s) affected
Version: 1.18.0
Stacktrace
Copy all of the output of the command, including the stacktrace if visible.
To Reproduce
Try to build apk using aapt2 tool (see example above)
Expected behavior
bundletool-all-1.*.*.jar
containsaapt2
tool that works with the latest stable SDK releaseKnown workaround
Use
aapt2
frombuild-tools
35.0.1Environment:
OS: macos 15.2
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: