tomdeMacBook-Pro:react-st-consumer tomlucky$ react-native xxxx
Scanning foldersfor symlinks in /xxxx/node_modules (17ms)
JS server already running.
Building and installing the app onthedevice (cdandroid && ./gradlewinstallDowDebug)...
Could not install the app onthedevice, readtheerrorabovefordetails.
Make sure you have an Android emulator running ora device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
解决
tomdeMacBook-Pro:react-st-consumer tomlucky$ cd android
tomdeMacBook-Pro:android tomlucky$ chmod 777 gradlew