react-native-action-sheet icon indicating copy to clipboard operation
react-native-action-sheet copied to clipboard

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

Open NaeemCheema opened this issue 6 years ago • 5 comments

i am facing issue for android release build

NaeemCheema avatar Oct 02 '18 05:10 NaeemCheema

Hello,

can you copy past your log ?

yfuks avatar Oct 02 '18 10:10 yfuks

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

barees63 avatar Oct 04 '18 23:10 barees63

Try https://github.com/facebook/react-native/issues/19239#issuecomment-389939749 or https://github.com/facebook/react-native/issues/19239#issuecomment-390225700

yfuks avatar Oct 05 '18 09:10 yfuks

Awesome, that worked thanks!

barees63 avatar Oct 05 '18 19:10 barees63

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'
            }
        }
    }
  }
}

bonesyblue avatar Oct 17 '18 13:10 bonesyblue