Skip to content

Opens the android emulator and connects to the latest version device. (Available with React Native and/or IntelliJ)

Notifications You must be signed in to change notification settings

sooheesh/react-native-run-android-with-emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

react-native-run-android-with-emulator

Opens the android emulator and connects to the latest version device. (Available with React Native and/or IntelliJ)

Example command line usage with React Native

$ ./open_android_emulator && react-native run-android

Open virtual device with the latest version API.

$ ./open_android_emulator

Open target virtual device

$ ./open_android_emulator Pixel_3_XL_API_28

Example usage in IntelliJ

Example of usage in IntelliJ

Installation guide

  • Go to Run/Debug Configurations.
  • Add React Native.

  • Find Before Launch.
  • Click + to add new configuration.
  • Add Run External Tool and Click + again.

  • In Tool Settings - Program - Browse, browse open_android_emulator.

  • Click OK.
  • Run.

Permission issue

Modify permission to give IntelliJ access to this file.

$ chmod a+x open_android_emulator

About

Opens the android emulator and connects to the latest version device. (Available with React Native and/or IntelliJ)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages