Comments (2)
The extract-apks
command with --device-spec
flag will extract the APK that should be served to that device by the store for the given device configuration.
The supportedAbis
value of the DeviceSpec does not tell bundletool what libraries to include, but rather the preferred order of the ABIs supported by the device: bundletool thus selects the best ABI for the device based on the libraries available in the App Bundle.
I can't think of a good use-case to generate APKs with multiple ABIs since Android devices will eventually only load the native libraries for a single ABI.
Note that I'm only talking about release APKs here. For testing purposes, the universal APK can be generated using the --universal
flag (see the help of the build-apks
command) and will contain all native libraries.
I hope that helps. Let me know if something is still unclear.
from bundletool.
The supportedAbis value of the DeviceSpec does not tell bundletool what libraries to include, but rather the preferred order of the ABIs supported by the device: bundletool thus selects the best ABI for the device based on the libraries available in the App Bundle.
Thanks for clarification. I suspected that this might be the case but good to have confirmation.
I can't think of a good use-case to generate APKs with multiple ABIs since Android devices will eventually only load the native libraries for a single ABI.
In my case I wanted to make sure that separate apks generated by bundletool
are run correctly on test devices with different ABIs. So I thought extract-apks
will produce base-master.apk
and base-armeabi_v7a.apk
, base-arm64_v8a
etc. (for every abi from supportedAbis
). I guess I was confused by previous experience with apk splits from android gradle plugin since they work this way.
But this could be achieved by using different spec files.
I hope that helps. Let me know if something is still unclear.
Yes, thanks again for quick response. I don't have any further questions.
from bundletool.
Related Issues (20)
- Unable to sign apk HOT 2
- Unable to sign APK due to FileAlreadyExistsException HOT 5
- com.android.tools.build.bundletool.model.exceptions.InvalidBundleException: Invalid dex file indices, expecting file 'classes?.dex' but found 'classes2.dex'. HOT 2
- Does it make the opposite? HOT 1
- the aab upload to Google Play, size counting issue HOT 1
- Error: Module 'base' is missing mandatory file 'manifest/AndroidManifest.xml'. HOT 2
- How does `bundletool build-apks` generate the versionCode for the APKs? HOT 3
- Returns immediately on command line without any info
- Size differs between bundletool and apkanalyzer.
- Unable to install dynamic feature modules with max sdk in manifest
- Set splittypes
- Please ignore
- Option NOT To Sign The APK Even If Debug Keystore Is Present
- Bundletool Package using 2 versions of AAPT2 Proto
- bundletool leaves 100s of KB of META-INF metadata in output APKs
- Bundletool does not recognize `android:installLocation="0"` HOT 1
- Installation of the app failed
- Split assets folder by device ABI
- Inject config into .aab, repack, resign not working HOT 1
- bundletool not properly aligning wrap.sh file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bundletool.