Replies: 8 comments 13 replies
-
Not really following what you mean here. Apktool currently does not have native support for |
Beta Was this translation helpful? Give feedback.
-
Appears AAB is the future. https://android-developers.googleblog.com/2021/06/the-future-of-android-app-bundles-is.html I don't know what this means yet. I will begin thinking. I don't think "apktool" should, but maybe a new spin up of "aabtool". I dunno. Need to research all the little parts that make up the AAB, which appear to the intermediate chunks that aapt2 spits out. |
Beta Was this translation helpful? Give feedback.
-
@fsodic @iBotPeaches I'm not sure - what is the use case for "aabtool"? The 'aab' format is basically a zip file that contains mandatory parts (base module) and other optional parts, such as dynamic features, different languages, native libs for different architectures, etc. This parts are in a protobuf format. An aab is used for distributing an application to Play Store. It is not directly installable. To install, Bundletool can be used to convert to APKs (an APK set - a zip file with multiple apk files), The APKs can also contain a single universal apk (as described here). Bundletools has knows the protobuf definitions and could be used to manipulate aab files. The device itself will still have apk files that can be "processed" with APKTool (universal apk files with splits are not supported yet #2514) So how would/should aabtool used? |
Beta Was this translation helpful? Give feedback.
-
I don't understand why this discussion was created. This file format is essentially intermediate for uploading and application to the market. Such files are only for developers and it does not make any sense to decompile them ... The above is well written for what it is. I propose to close this discussion. |
Beta Was this translation helpful? Give feedback.
-
@iBotPeaches The build step is documented here: https://developer.android.com/studio/build/building-cmdline#bundletool-build |
Beta Was this translation helpful? Give feedback.
-
I don't see any benifit of this. APK format is not dying, we can still use APK site like APK Combo to download single APK and work with it, and at least able to use Split APKs Packer (SAP) tool to merge split APK into one when there is no alternatives I have been using APK Combo for 2 years without problem, the site itself is safe to use and it's not a piracy site since you can't download paid APK. APK Combo is basically a life saver for me. |
Beta Was this translation helpful? Give feedback.
-
Has anyone of you managed to decompile an apk file to compile in aab? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hi iBot,
I say thanks for your tools ^_^
I was build aab from your tools.
On your tools, i just using decompile from apktool for decode codes to human read and using this https://developer.android.com/studio/command-line/aapt2 for compile the resource as protobuff format. And build using https://developer.android.com/studio/command-line/bundletool.
On here i see if your tools using aapt (not aapt2) and command are similar.
But i still get some bug where the music (like mp3 extension) won't mark as doNotCompress
I can tell more details if you interest my idea.
Just little help from you to solve this ^_^
Sorry my english bad.
Wish you read this
Beta Was this translation helpful? Give feedback.
All reactions