I am trying to implement React Native MapView
for Android. I did follow github installation instruction but i am facing compilation error when i try to run usin
After two day's of struggling i find my solution by my self.The real issue is my project using compileSdkVersion = 28
and react-native-maps
node_module using different version of compileSdkVersion
.
To solve this issue need to update react-native-maps
node_module compileSdkVersion
version.
project_name>node_modules>react-native-maps>lib>android>build.gradle
ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 20
compileSdkVersion = 28
targetSdkVersion = 28
supportLibVersion = "28.0.0"
}
Module compile SDK version and support library version should be same as project compile SDK version and support library version.