sync error: com.google.android.gms:play-services-base:17.2.0
sync error: com.google.android.gms:play-services-base:17.2.0
我在同步我的项目时遇到了这个错误,我在网上搜索过但没有得到任何让我继续前进的结果
错误
ERROR: Failed to resolve: com.google.android.gms:play-services-base:17.2.0
下面是我的依赖项
buildscript {
repositories {
mavenCentral()
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
}
}
dependencies {
implementation fileTree(dir: 'libs', include: '*.jar')
// SUB-PROJECT DEPENDENCIES START
implementation(project(path: ":CordovaLib"))
implementation 'com.android.support:support-annotations:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:support-v13:28.0.0'
implementation 'me.leolin:ShortcutBadger:1.1.22@aar'
implementation 'com.google.firebase:firebase-core:17.2.0'
implementation 'com.google.firebase:firebase-messaging:20.0.0'
implementation 'com.google.android.gms:play-services-base:17.2.0'
implementation 'com.google.android.gms:play-services-ads:18.2.0'
// SUB-PROJECT DEPENDENCIES END
}
关于如何让它同步的任何解决方案?
依赖关系:
implementation 'com.google.android.gms:play-services-base:17.2.0'
(当前)不存在。
使用17.1.0
或17.0.0
。
This 是最新可用版本的列表。
您还可以在 release notes 页面中查看历史记录。
我在同步我的项目时遇到了这个错误,我在网上搜索过但没有得到任何让我继续前进的结果
错误
ERROR: Failed to resolve: com.google.android.gms:play-services-base:17.2.0
下面是我的依赖项
buildscript {
repositories {
mavenCentral()
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
}
}
dependencies {
implementation fileTree(dir: 'libs', include: '*.jar')
// SUB-PROJECT DEPENDENCIES START
implementation(project(path: ":CordovaLib"))
implementation 'com.android.support:support-annotations:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:support-v13:28.0.0'
implementation 'me.leolin:ShortcutBadger:1.1.22@aar'
implementation 'com.google.firebase:firebase-core:17.2.0'
implementation 'com.google.firebase:firebase-messaging:20.0.0'
implementation 'com.google.android.gms:play-services-base:17.2.0'
implementation 'com.google.android.gms:play-services-ads:18.2.0'
// SUB-PROJECT DEPENDENCIES END
}
关于如何让它同步的任何解决方案?
依赖关系:
implementation 'com.google.android.gms:play-services-base:17.2.0'
(当前)不存在。
使用17.1.0
或17.0.0
。
This 是最新可用版本的列表。
您还可以在 release notes 页面中查看历史记录。