我試圖安裝在這裏的示例應用程序:https://github.com/brentvatne/react-native-scrollable-tab-view反應,本機矢量圖標:processReleaseResources
安裝後,我嘗試運行,但出現錯誤:
:react-native-vector-icons:processReleaseResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-vector-icons:processReleaseResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.E
xecException: Process 'command 'C:\Users\KJA\AppData\Local\Android\sdk\build-too
ls\23.0.1\aapt.exe'' finished with non-zero exit value 1
* 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: 23.638 secs
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
豈今得到緩解?
正如錯誤信息中所建議的那樣,您應該嘗試使用'--stacktrace'或'--debug'運行它以獲取有關該問題的更精確的信息。 – mbernardeau