Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ProcessReleaseResources

I am trying to build my react-native project and using react-native-fbsdk.

I am using [email protected] and, [email protected].

When I build my project I got this error on execution screen.

**Execution failed for task** ':react-native-fbsdk:processReleaseResources'.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/sathish/Android/Sdk/build-tools/23.0.1/aapt'' **finished with non-zero exit value 1**
like image 729
Sathish Kumar Sundaram Avatar asked May 29 '17 05:05

Sathish Kumar Sundaram


2 Answers

I found the solution for that.

react-native-fbsdk module was updated a few days ago, causing this error to occur.

if you want to resolve this error then do the following:

  1. Go to your node_modules/react-native-fbsdk/android/build.gradle. open build.gradle file.

  2. Change compile('com.facebook.android:facebook-android-sdk:4++') to compile('com.facebook.android:facebook-android-sdk:4.22.1')

like image 192
Sathish Kumar Sundaram Avatar answered Nov 08 '22 10:11

Sathish Kumar Sundaram


Was able to fix it by updating the react-native-fbsdk to 0.6.0.

like image 26
peerless Avatar answered Nov 08 '22 10:11

peerless