有人可以ANDROID_HOME通过终端发布有效的设置解决方案吗?
我的Android-SDK之路是/Applications/ADT/sdk.
我正在尝试开发我的第一个react-native Android应用程序.我跑的时候
sudo react-native run-android
Run Code Online (Sandbox Code Playgroud)
我收到以下错误
JS server already running.
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/Cellar/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: 4.981 secs …Run Code Online (Sandbox Code Playgroud)