React-C-Charts-Wrapper: Compiledebugjavawithjavac не удалось

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