Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

enter image description here

like image 676
Benjith binja Avatar asked Mar 07 '17 07:03

Benjith binja


4 Answers

When you are inside your project directory try using

cd android && gradlew clean && cd .. && react-native run-android
like image 86
MedElmaachi Avatar answered Nov 14 '22 13:11

MedElmaachi


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

cd android && gradlew clean && cd .. && react-native run-android
like image 12
Hasan Rıza Uzuner Avatar answered Nov 14 '22 13:11

Hasan Rıza Uzuner


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.

like image 1
Goutham KD Avatar answered Nov 14 '22 15:11

Goutham KD


cd android && ./gradlew clean && cd .. && react-native run-android
like image 1
umair ali Avatar answered Nov 14 '22 13:11

umair ali