gpt4 book ai didi

android - 添加 PlayServices 库后 list 合并失败

转载 作者:太空狗 更新时间:2023-10-29 15:46:03 28 4
gpt4 key购买 nike

我加了

compile 'com.google.android.gms:play-services:6.1.71'

通过 build.gradle 阻止“依赖项”,然后当我尝试同步项目时 gradle 抛出错误:

Error:Gradle: Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed with multiple errors, see logs

我使用的 MinSdk 版本是 8,目标、编译和构建工具是 19。

dependencies {
compile 'com.android.support:appcompat-v7:19.+'
compile 'com.google.android.gms:play-services:6.1.71'
compile fileTree(dir: 'libs', include: ['*.jar'])
}

这个错误是什么意思,如何解决?我使用 Intellij Idea 作为 IDE。谢谢解答!

最佳答案

问题是“com.google.android.gms:play-services:6.1.71”至少需要 9 个 minSdk。

更改 minSdk 值解决了问题。

关于android - 添加 PlayServices 库后 list 合并失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26742844/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com