Skip to content

sfiorini/android-emulator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android emulator

This is a helper for react-native development that allows for auto starting the android emulator before running the app in a similar way to how the iOS simulator is auto started.

Npm scripts

This is a modified version of the original project by @antonholmberg that terminates the process with a zero exit code within 7 seconds after the command to start the emulator is executed. This allows for creating a npm script that always tries to start the emulator before running the app.

What you need to do?

You need to set the either set the environment variable ANDROID_HOME or ANDROID_SDK to where your android sdk is installed. For me on a mac this is ~/Library/Android/sdkbut this will depend on your OS and installation.

Running it 🚀

Run android-emulator in the terminal. The first emulator in the AVD list will start.

About

Utility to start the android emulator

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%