Giter Site home page Giter Site logo

android-emulator-standalone's Introduction

Android Emulator Standalone

A simple script to generate standalone macOS apps from existing Android Emulator AVDs.

Build Status

Usage: build-app.sh AVD_NAME [ANDROID_SDK_ROOT]

The build-app.sh script will prepare a directory, copy the AVD and download the necessary SDK components. If the AVD_NAME is something like Pixel_2_API_29, then the script will create a directory with the name Pixel 2 API 29.XXXXXX (where X signifies a random character). After the script finishes, the directory can be renamed into Pixel 2 API 29.app.

The app bundle then can be distributed to machines without having to install Android Studio or Java.

Screenshot

Whenever the app is first started, the embedded AVD will be copied over to ~/Library/Application Support/Android Emulator Standalone AVD.

Caveats

  • Use x86_64 variants of system images. 32bit versions do not seem to work.

  • This script calls into sdkmanager command line and thus requires Java. It is recommended to set JAVA_HOME environment variable to the JRE shipping with Android Studio.

    export JAVA_HOME=/Applications/Android\ Studio/Contents/jre/jdk/Contents/Home
    
  • Produced bundles can become several GB in size.

License

This Software is licensed under the terms of MIT license.

android-emulator-standalone's People

Contributors

znerol avatar

Stargazers

 avatar

Watchers

 avatar  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.