Scenario
Attemping to run $ react-native run-android
results in
Scanning folders for symlinks in /Users/Jackson/Sites/fnmultiapptest/node_modules (11ms) JS server already running. Building and installing the app on the device (cd android && ./gradlew installDebug)...
Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/getting-started.html
Relevant Info
I can run my app fine from Android Studio if I run it on an emulator. I can also connect to the react-native "Metro Bundler".
adb devices
reports back with emulator device id.
ANDROID_HOME
and ANDROID_SDK_PATH
are present and correct
Question
Why can't I install my app to the emulator when using react-native run-android
if it works fine via Android Studio (which also uses ADB)
Extra Notes
- Working on a MBP w 12.14 Mojave
- Android Studio version 3.2.1
- Emulator OS is 8.0 (api 26)