Answers for "react-native-charts-wrapper:compileDebugJavaWithJavac FAILED"

0

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'
            }
        }
    }
}
Posted by: Guest on May-13-2020

Code answers related to "react-native-charts-wrapper:compileDebugJavaWithJavac FAILED"

Code answers related to "Javascript"

Browse Popular Code Answers by Language