I am installing react-native-maps
. In the installation guide, on Build configuration on Android in Section 3.1, it shows:
buildscript {
ext {
buildToolsVersion = "xxx"
minSdkVersion = xxx
compileSdkVersion = xxx
targetSdkVersion = xxx
supportLibVersion = "xxx"
playServicesVersion = "xxx" // or set latest version
androidMapsUtilsVersion = "xxx"
}
}
...
How can i get supportLibVersion
, playServicesVersion
and androidMapsUtilsVersion
values?
In general, all libaries can be found in the maven repository. For some you have to see a concrete library to get the version number (this number is the number you put in the build.grade file). Usually, all libraries that are part of a group, should support the same version numbers (otherwise you get a compile error and you need to check the concrete version and make sure that it exists for the libraries that you need).
googlePlayServicesVersion:
https://mvnrepository.com/artifact/com.google.android.gms/play-services-maps
androidMapsUtilsVersion:
https://mvnrepository.com/artifact/com.google.maps.android/android-maps-utils
supportLibVersion:
https://mvnrepository.com/search?q=com.android.support
See within a library. e.g. https://mvnrepository.com/artifact/com.android.support/appcompat-v7