-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] aapt binaries for arm #2811
Comments
The problem is more so signing up to support alternative architectures. I don't plan on moving on this until native AOSP supports it. Lodged into Roadmap - https://github.com/iBotPeaches/Apktool/blob/master/ROADMAP.md#android-support |
Termuxs aapt doesn't work well yet with apps that was targeted recent android versions (11, 12) .I did a little tweak that allows me to use x86 binaries run on termux. |
@Anonymous2716 would this not require emulation? |
@oSumAtrIX yes I did it with qemu-i386. A little slower than native use but not that noticeable. |
Can you elaborate on that |
@oSumAtrIX termux uses its aapt as default with apktool. And every time I use apktool on recent SDK targeted (not entirely sure if its the issue) apps it gives me XML build errors . which app doesn't have a lots of XML in res works just fine . e.g. helloworld apks.
|
@oSumAtrIX as this https://github.com/termux/termux-packages/blob/master/packages/apktool/aapt-wrapper.patch I call |
Would modifying the aapt build scripts to use the latest sdk not work? |
I dont know whats difference between apktools binary termuxs and this one below. There are arm binaries that works but couldn't find the source or how to build. Check https://github.com/Hax4us/Apkmod release page . it works in proot. |
@iBotPeaches We have successfully built aapt2 (and aapt) for several architectures and tested it on android with Apktool and from an Android app: |
@eladkarako your aapt2 binary just prints the help message . not doing anything else. Takes no arguments. |
Problem
Currently
apktool-lib
has no prebuild binaries for thr arm architecture. This means, that resources can not be compiled on mobile phones.Solution
Add pre-built binaries for the arm architecture. Termux currently provides these pre-build binaries and build scripts here.
The text was updated successfully, but these errors were encountered: