react native charts wrapper 3acompiledebugjavawithjavac failed

Solutions on MaxInterview for react native charts wrapper 3acompiledebugjavawithjavac failed by the best coders in the world

showing results for - "react native charts wrapper 3acompiledebugjavawithjavac failed"
Ethann
04 Oct 2020
1For 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:
2
3subprojects {
4    project.configurations.all {
5        resolutionStrategy.eachDependency { details ->
6            if (details.requested.group == 'com.google.android.gms'
7                && details.requested.name.contains('play-services-gcm')) {
8                details.useVersion '16.0.0'
9            }
10        }
11    }
12}