Comments (9)
Forgot the attachment.
from bundletool.
Using -Xmx5G on the command line helped but it froze my computer for a long time. Don't know that 5G was needed, just what I tried the first time.
from bundletool.
What is the command you run? Any sample we can reproduce on?
from bundletool.
This is the command that worked
java -Xmx5G -jar bundletool-all-0.7.1.jar build-apks --bundle=../..../app.aab --output=bundleapks.apks --ks=../..../keystore --ks-pass=pass:..... --ks-key-alias=.... --key-pass=pass:....
Without -Xmx5G
then it has the issue.
I can share the aab file if you give me an email to share it with, don't want to upload it here.
from bundletool.
How big is the Bundle and how big is the APK Set?
As a short-term workaround, you could possibly try reducing the parallelism using --max-threads=1
or 2
.
from bundletool.
aab file is 29 megs.
Where do I use --num-threads=1
at? on which part of the command line?
from bundletool.
Sorry, --max-threads
, in the build-apks command.
from bundletool.
Same issue with --max-threads=1
It happens pretty quickly when trying it with that aab.
from bundletool.
I recommend to build only the APKs for the device you want to test it on. You can do so by passing a device spec to the command (through the --device-spec flag).
The device spec file can be generated manually or bundletool also provides a command (get-device-spec) to extract the spec from a connected device. See this documentation.
from bundletool.
Related Issues (20)
- The App bundle is not a valid zip file HOT 1
- 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
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.