Git Product home page Git Product logo

Comments (9)

casolorz avatar casolorz commented on May 3, 2024

hs_err_pid22129.log

Forgot the attachment.

from bundletool.

casolorz avatar casolorz commented on May 3, 2024

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.

plecesne avatar plecesne commented on May 3, 2024

What is the command you run? Any sample we can reproduce on?

from bundletool.

casolorz avatar casolorz commented on May 3, 2024

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.

plecesne avatar plecesne commented on May 3, 2024

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.

casolorz avatar casolorz commented on May 3, 2024

aab file is 29 megs.

Where do I use --num-threads=1 at? on which part of the command line?

from bundletool.

plecesne avatar plecesne commented on May 3, 2024

Sorry, --max-threads, in the build-apks command.

from bundletool.

casolorz avatar casolorz commented on May 3, 2024

Same issue with --max-threads=1

It happens pretty quickly when trying it with that aab.

from bundletool.

plecesne avatar plecesne commented on May 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.