I'm using react-native 0.43.3 on OSX. I tried to running app on Android and get message
react-native run-android
Scanning 568 folders for symlinks in /Users/ruci.k/project/mayacrew/supermembers/supermembers/node_modules (5ms)
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/android-setup.html
./gradlew installDebug gave me some errors and fixed it all. Finally build get successed and app is working on Android device.
But react-native run-android
command still not work.
Only ./gradlew installDebug
command work.
Is there anything can I check to use react-native run-android
command?
I can't understand how could it happened.