📌  相关文章
📜  react-native-charts-wrapper:compileDebugJavaWithJavac FAILED - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:43.907000             🧑  作者: Mango

代码示例1
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'
            }
        }
    }
}