在Android上运行React Native:任务执行失败':app:processDebugResources'

时间:2017-06-23 13:16:09

标签: android react-native genymotion react-native-navigation

我发现了一些类似的问题,但无法找到解决此问题的方法。我正在使用react-native-cli并在我尝试在Android模拟器上运行时继续收到错误。我尝试使用Android Studio和Genymotion模拟器,错误似乎是一样的。

我尝试删除构建文件夹并再次运行,但没有成功。

这里有一些细节:

/Applications/MAMP/htdocs/udemy/react-native/template_navigation_firebase_auth/android/app/build/intermediates/res/merged/debug/values-v24/valu
es-v24.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Bu
tton.Colored'.


:app:processDebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

0 个答案:

没有答案