/rn-run-android

Alternative for current painful `react-native run-android`, just `rn-run-android` for everything with advance options

Primary LanguageJavaScriptMIT LicenseMIT

rn-run-android

No more pain when running react-native app in android emulator. Very similar to react-native run-ios: just rn-run-android for everything with more advance options.

Demo

Demo

Installation

$ npm i -g rn-run-android

Usage

# Run in the directory of your react-native project
$ rn-run-android

# Available options:
-d, --default     Auto select first created emulator
-w, --writable    Enable -writable-system mode for emulator
-n, --nosnapshot  Enable -no-snapshot-load mode for emulator
-h, --help        output usage information

# Example:
# This command below will select first created emulator and run it with no-snapshot config:
rn-run-android -d -n

Inspired by react-native-run-android ( with fixed for emulator synchornization issue and more advance options )

MIT License Copyright (c) 2019 Harry Nguyễn