React-native: Execution failed for task ':app:processDebugResources'. > com.android.ide.common.process.ProcessException: Failed to execute aapt

Created on 8 Dec 2017  Â·  7Comments  Â·  Source: facebook/react-native

i am new to react native i had to start a project in React-native which involves FCM notification, i did follow this article
https://github.com/evollu/react-native-fcm

After adding services.json file in my android/app , i updated the all android files as mentioned in above article , but i am getting the error "Failed to execute aapt"

i am using

Os: windows 7 64 bit
Ram:8Gb
react-native-cli: 2.0.1
react-native: 0.50.3

and also i am little bit confusing over this topic in react-native please help me

thanks in advance

Ran Commands Locked

Most helpful comment

Try installing android p sdk and change compileSdkVersion value to 28

All 7 comments

@facebook-github-bot no-template

Hey @prasanthyejje, thanks for posting this! It looks like your issue is missing some required information. Can you please add all the details specified in the Issue Template? This is necessary for people to be able to understand and reproduce your issue. I am going to close this, but please feel free to open a new issue with the additional information provided. Thanks!

How to Contribute • What to Expect from Maintainers

app/build.gradle
android {
compileSdkVersion 25
buildToolsVersion "25.0.0"

defaultConfig {

Try installing android p sdk and change compileSdkVersion value to 28

@fetot Thanks! this worked for me

thanks it work for me. great job

Was this page helpful?
0 / 5 - 0 ratings