gpt4 book ai didi

android - 无法解析 : com. google.android.gms :play-services-basement:12. 0.1

转载 作者:塔克拉玛干 更新时间:2023-11-02 19:07:13 26 4
gpt4 key购买 nike

这是我的依赖

dependencies {

compile project(':react-native-fcm')
// compile 'com.google.firebase:firebase-core:11.2.0' //FCM - this decides your firebase SDK version
compile(project(':react-native-maps')){
exclude group: 'com.google.android.gms', module: 'play-services-base'
exclude group: 'com.google.android.gms', module: 'play-services-maps'
}
compile(project(":react-native-google-place-picker")){
exclude group: "com.google.android.gms"
}
compile (project(':RNAdMob')){
exclude group: "com.google.android.gms"
}
//compile project(':react-native-device-info')
compile project(':react-native-fbsdk')
compile (project(':react-native-mauron85-background-geolocation')){
exclude group: "com.google.android.gms"
}
compile project(':react-native-android-location-enabler')
compile project(':react-native-wheel-picker')
compile project(':react-native-sound')

compile project(':react-native-vector-icons')
compile (project(':react-native-google-analytics-bridge')){
exclude group: "com.google.android.gms"
}
//compile project(':react-native-device-info')
compile(project(":react-native-device-info")){
exclude group: "com.google.android.gms"
}
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:23.0.1"
//compile "com.facebook.react:react-native:+" // From node_modules
compile "com.facebook.react:react-native:0.44.3"

compile(project(":react-native-google-signin")){
exclude group: "com.google.android.gms"
}
compile (project(':tipsi-stripe')){
exclude group: "com.google.firebase"
exclude group: "com.android.support"
exclude group: "com.google.android.gms"
}
compile 'com.google.android.gms:play-services-auth:11.0.2' // should be at least 9.0.0
compile 'com.google.android.gms:play-services-places:11.0.2'
compile 'com.google.android.gms:play-services-maps:11.0.2'
//compile 'com.google.android.gms:play-services-location:11.0.2'

compile 'com.google.android.gms:play-services-wallet:11.0.2'
compile 'com.google.android.gms:play-services-gcm:11.0.2'

compile 'com.google.android.gms:play-services-analytics:11.0.2'
compile 'com.google.android.gms:play-services-ads:11.0.2'

}

从 RNAdMob 项目获取错误。但我排除了 gms 包。我没有对代码进行任何更改。昨天它的工作和编译。我不知道为什么今天它没有编译。我没有在任何地方添加“play-services-basement:12.0.1”模块。

最佳答案

google() 移动到您的 build.gradle 中的 jcenter() 之前

allprojects {
repositories {
mavenLocal()
google()
jcenter()
maven { url "https://jitpack.io" }
maven {
url "https://maven.google.com" // Google's Maven repository
}
}
}

关于android - 无法解析 : com. google.android.gms :play-services-basement:12. 0.1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50794020/

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