andreyvital / react-native-android-sms-listener

Allows you to listen for incoming SMS messages using React Native
MIT License
358 stars 99 forks source link

got this error "Execution failed for task ':react-native-android-sms-listener:verifyReleaseResources'." #40

Closed eshantbist closed 4 years ago

eshantbist commented 5 years ago

Any solution for above error?

smrd1377 commented 5 years ago

i see this error when i want to get release any body have solution ?

Sylchauf commented 5 years ago

Try this code in /android/build.gradle (works for me)

subprojects { project.configurations.all { afterEvaluate {project -> if (project.hasProperty("android")) { android { compileSdkVersion 26 buildToolsVersion '26.0.2' } } } resolutionStrategy.eachDependency { details -> if (details.requested.group == 'com.android.support' && !details.requested.name.contains('multidex') ) { details.useVersion "26.0.2" } } } }

Thanks to https://github.com/facebook/react-native/issues/19239#issuecomment-388600147

reactdevrocks commented 5 years ago

still not able to generate release build. @Sylchauf after your suggestion too.