我将“ GoogleAnalyticsV4_nobitcode”导入到我的项目中,然后Android强制解析失败!
这是错误:
失败:构建失败,并出现异常。
其中: 构建文件“ .. \ Temp \ PlayServicesResolverGradle \ PlayServicesResolver.scripts.download_artifacts.gradle”行:127
- 出了什么问题: 评估根项目“ PlayServicesResolverGradle”时发生问题。 对于输入字符串:“ 0-alpha3”
所提到文件的第127行是如下功能:
// Sort a list of version strings.
// The returned list contains a list of oldest to most recent version.
def sortVersionStrings(versions) {
// The following sorts by comparing the indices of the versions.
// If all common indices match, the longer of the two is more recent.
return versions.sort(false) {
a, b -> [a, b]*.tokenize('.')*.collect { it as int }.with {
u, v -> [u, v].transpose().findResult {
x, y -> x <=> y ?: null } ?: u.size() <=> v.size()
}
}
}
任何人都可以帮助吗?
最好的问候