Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react-native-charts-wrapper:compileDebugJavaWithJavac FAILED

For anyone has the same issue, please refer to this link: facebook/react-native#25292 (comment). I solved my problem by adding this change in android/build.gradle:

subprojects {
    project.configurations.all {
        resolutionStrategy.eachDependency { details ->
            if (details.requested.group == 'com.google.android.gms'
                && details.requested.name.contains('play-services-gcm')) {
                details.useVersion '16.0.0'
            }
        }
    }
}
Source by github.com #
 
PREVIOUS NEXT
Tagged: #FAILED
ADD COMMENT
Topic
Name
1+7 =