Apktool: Not support Android 11

Created on 31 Aug 2020  路  8Comments  路  Source: iBotPeaches/Apktool

Information

  1. Apktool Version (apktool -version) -2.4.1
  2. Operating System (Mac, Linux, Windows) -Linux
  3. APK From? (Playstore, ROM, Other) -Other

The queries tag in android11 is not supported. You must use the latest aapt2 (30.0.0) version. The latest apktool version does not support the latest aapt2.

If you specify the latest version of AAPT2, it is possible for the command to be too long to execute. The AAPT in apkTool handles the problem of command length through the -e parameter

Bug

Most helpful comment

I need to remake aapt/aapt2 binaries, but mac isn't playing nice and I think tis time to make aapt2 default and freeze aapt fixes. I have some work to do.

All 8 comments

Could you provide some examples to reproduce the issue? Thanks 馃槉

Not compiled AndroidManifest.xml with new attributes?

Could you provide some examples to reproduce the issue? Thanks

https://github.com/ADroidCoder/RN/blob/master/github-reply.png

This attributes in AndroidManifest.xml is not recognized when ApkTool complied

Not compiled AndroidManifest.xml with new attributes?

yes

https://developer.android.google.cn/preview/privacy/package-visibility#all-apps

I need to remake aapt/aapt2 binaries, but mac isn't playing nice and I think tis time to make aapt2 default and freeze aapt fixes. I have some work to do.

Screenshot_20200914-001856.png
Can someone help me?

Any progress on pulling in the AAPT2 updates? Also curious if there is an ETA for an official ApkTool release with Android 11 support.

Any progress on pulling in the AAPT2 updates? Also curious if there is an ETA for an official ApkTool release with Android 11 support.

Mac isn't building still. I might have to vm an older version with exactly what aosp wants.

The newest binaries are now on master. Closing as they have been updated.

Was this page helpful?
0 / 5 - 0 ratings