DynamicRefTable App Generation #2524
Replies: 3 comments
-
https://developer.android.com/guide/app-bundle/play-feature-delivery |
Beta Was this translation helpful? Give feedback.
-
A multi-package APK can be created as follows (not a minimal example though):
This zip includes aab/apks/apk for the Dynamic features codelab: I tried to understand how the multi-package apk (universal.apk) is built by debugging Bundletool. I thought they might be using aapt2 to compile with different packages, but didn't find code to show that it happens. As for compiling with aapt2, according to aapt2 documentation, The Bundletool code has a class named So a possible direction for building the APK would be integrating with Bundletool (but that means relying on possibly internal APIs/data objects) and this should rely on package-id that is stored for resources during decompile. |
Beta Was this translation helpful? Give feedback.
-
@iBotPeaches Hi, good idea to combine all in one ticket.
Can you expand your steps more detailed for easy reproduction? I want to try your method.
What about "having the old application" prior version of troubled one? I have many of them, for example. And? |
Beta Was this translation helpful? Give feedback.
-
I'm going to try out discussions here to see how it works to collect highly specific details to points that spread among many tickets.
#2099
#2514
#2002
#1550
Some applications have many packages in one
resources.arsc
file. Apktool in the past has just picked the package with most resources and that is leading to many many issues in the backlog.Need to create a test app to remakes this behavior in as small as possible.
Beta Was this translation helpful? Give feedback.
All reactions