Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution failed for task ':react-native-action-sheet:verifyReleaseResources' #32

Open
NaeemCheema opened this issue Oct 2, 2018 · 5 comments

Comments

@NaeemCheema
Copy link

i am facing issue for android release build

@yfuks
Copy link
Owner

yfuks commented Oct 2, 2018

Hello,

can you copy past your log ?

@barees63
Copy link

barees63 commented Oct 4, 2018

I'm getting this too:

* What went wrong:
Execution failed for task ':react-native-action-sheet:verifyReleaseResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt

@yfuks
Copy link
Owner

yfuks commented Oct 5, 2018

Try facebook/react-native#19239 (comment) or facebook/react-native#19239 (comment)

@barees63
Copy link

barees63 commented Oct 5, 2018

Awesome, that worked thanks!

@bonesyblue
Copy link

That's great, worked for me too! For anyone else experiencing this issue, the following code must be added to the android/build.gradle file (beneath allprojects {...})

subprojects {
  project.configurations.all {
      afterEvaluate {project ->
        if (project.hasProperty("android")) {
            android {
                compileSdkVersion 27
                buildToolsVersion '27.0.3'
            }
        }
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants