尝试让原生android构建反应,以便在基于quick start guide的模拟器上编译和运行。我是Android开发人员的新手。执行$ react-native run-android
SSYY:test $ react-native run-android
Starting JS server...
Building and installing the app on the device (cd android && ./gradlew installDebug)...
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72300Library FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:prepareComAndroidSupportAppcompatV72300Library'.
> Failed to create parent directory '/Users/SSYY/Projects/react-test/test/android/app/build' when creating directory '/Users/SSYY/Projects/react-test/test/android/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.0'
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
任何想法或指示?我确实按照整个Android设置。