$ react-native run-android
Starting JS server…
Building and installing the app on the device (cd android && ./gradlew installDebug)…
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring project ‘:app’.
failed to find target with hash string ‘android-23’ in: /usr/local/opt/android-sdk
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 6.509 secs
Could not install the app on the device, see the error above.加粗文字