Coder Social home page Coder Social logo

aab-installer's Introduction

AAB Installer

As you probably know, some time ago Google introduced a new and preferred way of building Android apps - an Android App Bundle. While its benefits are understandable, and it integrates seamlessly with the Play Store, there is no way to install it directly to a device. In order to do that, one would have to first convert an AAB to an APKS file, which is a set of APKs for each and every configuration that the app supports, and then retrieve those APKs that match the device configuration to install on. AAB Installer simplifies this process using Google's bundletool and ADB with a GUI, and makes it easier for non-developers to install multiple bundles if necessary.

Furthermore, the idea seemed like the perfect opportunity to dive into Compose, so this project also serves as a small playground.

License

What you can do with this app

  • Build an Android App Bundle and install it on a device
  • Manage signing configs for multiple projects
  • Check each command result in the console

Usage instructions

  • Download and install Java 11+, if needed

  • Download AAB Installer

  • Download and install ADB

  • Download and copy bundletool to wherever you like

  • Run AAB Installer and in the Settings tab set ADB and bundletool paths

  • In the signing tab add a signing config for your app. You will have to have it in order to build an installable APK. It now supports environment variables in config fields. In order to use them surround variable name with double curly braces. For example, {{AWESOME_KEYSTORE_PASSWORD}}.

  • In the Build tab select an AAB to install, select your device, signing config, and you are good to go!

What's next

  • Linux and MacOS versions (They are probably fine, but I just have to check that)
  • Ability to use keystore and key passwords from environment variables
  • Universal APK mode
  • Automatic ADB and Bundletool paths discovery
  • Building using device specs

License

AAB Installer is distributed under the MIT license. See LICENSE for details.

aab-installer's People

Contributors

namtarr avatar

Stargazers

 avatar

Watchers

 avatar

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.