Get quot;supportLibVersionquot; , quot;playServicesVersionquot; and quot;androidMapsUtilsVersionquot; Value in configuration react-native-maps(获取配置中的quot;supportLibVersionquot;、quot;playServicesVersionquot;和quot;androidMapsUtilsVersionQuot;值)
问题描述
我正在安装react-native-maps。在安装指南中,3.1节的Build configuration on Android上显示:
buildscript {
ext {
buildToolsVersion = "xxx"
minSdkVersion = xxx
compileSdkVersion = xxx
targetSdkVersion = xxx
supportLibVersion = "xxx"
playServicesVersion = "xxx" // or set latest version
androidMapsUtilsVersion = "xxx"
}
}
...
如何获取supportLibVersion、playServicesVersion和androidMapsUtilsVersion值?
推荐答案
通常,所有库都可以在Maven存储库中找到。对于某些情况,您必须看到一个具体的库才能获得版本号(这个数字是您放入build.grade文件中的数字)。通常,属于一个组的所有库都应该支持相同的版本号(否则会出现编译错误,您需要检查具体版本,并确保它对于您需要的库是存在的)。
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
请参阅库中的。例如https://mvnrepository.com/artifact/com.android.support/appcompat-v7
这篇关于获取配置中的";supportLibVersion";、";playServicesVersion";和";androidMapsUtilsVersion&Quot;值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:获取配置中的";supportLibVersion";、";playServicesVersion";和";androidMapsUtilsVersion&Quot;值
基础教程推荐
- 当木偶师打开Chrome时,不能使用Chrome扩展 2022-01-01
- 使用 jQuery 在悬停时交换 DIV 类 2022-01-01
- 从快速中间件中排除路由 2022-01-01
- 逻辑运算符 ||在 javascript 中,0 代表 Boolean false? 2022-01-01
- 在 Javascript 中使用 Fetch API 上传文件并显示进度 2022-01-01
- 最佳动态 JavaScript/JQuery 网格 2022-01-01
- CORS:当凭据标志为真时,无法在 Access-Control-Allow-Origin 中使用通配符 2022-01-01
- 带角度的选项卡:仅使用 $http 在单击时加载选项卡 2022-01-01
- 即使每次插入第一个输入的值不同,第二个输入仍显示相同的输入值 2022-01-01
- HTML5 画布调整为父级 2022-01-01
