Failed to create directory: project\android\app\build\intermediates\res\merged\debug\values :app:mergeDebugResources FAILED

纵然是瞬间 提交于 2019-12-18 12:58:12

问题


I am trying to integrate facebook login in react-native. I used this documentation React Native FDSK, I am getting this error


回答1:


When you are inside your project directory try using

cd android && gradlew clean && cd .. && react-native run-android



回答2:


@user3499413 you are right but you forgot && between clean and cd

cd android && gradlew clean && cd .. && react-native run-android



回答3:


Try keeping the solution folder locally (something like D:/MyProject ) ,Since if you keep your solution/project deeply nested within folder it may cause longer path issue.

then , try running 1. npm install 2. react-native run-android

probably this should resolve the issue.



来源:https://stackoverflow.com/questions/42642253/failed-to-create-directory-project-android-app-build-intermediates-res-merged-d

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!