Giter VIP home page Giter VIP logo

Comments (2)

tidoemanuele avatar tidoemanuele commented on May 18, 2024

@bobthekingofegypt I had the same problem.
Please read this post and this thread. I tried differents ways until I found this gradle task: packageProdReleaseUniversalApk

But you need to do the follow before:

  • add COIL to app dependencies list
  • set instant false in all features and change dist:fusing from false to true
  • add this proguard rules to app module -keep class com.vmadalin.** { *; }

also this approach works:

  1. run this gradle task: packageProdReleaseBundle
  2. download this bundletool.jar.zip unzip it and just to prove that works put everythings in a folder (bundletool.jar, your aab file and store key)
  3. edit properly and run this command: java -jar bundletool-all.jar build-apks --bundle=app-prod-release.aab --output=app-prod-release.apks --mode=universal --ks=mykeyfile.jks --ks-pass=pass:mypass --ks-key-alias='my alias' --key-pass=pass:mypass
  4. rename app-prod-release.apks to app-prod-release.zip
  5. unzip app-prod-release.zip
  6. run your app-prod-release.apk in your android device

Check my PR

from android-modular-architecture.

vmadalin avatar vmadalin commented on May 18, 2024

Sorry for the delay regarding this issue, but I haven't the time to dedicate to this project. First of all, thank you @bobthekingofegypt for your bug reporting and also @tidoemanuele for the research. Following the google recommendations about how to test dynamic delivery:

Important:

The easiest way to test applications using dynamic delivery is to use internal app sharing. This allows you to distribute a link directly to the beta tester of your apk or app bundle, independently on the version number. This works even for debug build!
You can find more information in the documentation

Basically you cannot test them generating an old format .apk, for this reason, you should generate a .aab and upload it to google play console. I tested this but it still don't work because the following conflict between Dynamic Features, Data Binding and MinifyEnabled (nickbutcher/plaid#764), but you can easily fix the below line on the proguard-rules.pro:

-keep class **.DataBinderMapperImpl { *; }

I hope i can help you with, if not please reopen the ticket. Thank you

from android-modular-architecture.

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.