简体   繁体   English

使用Maven Android失败:com.google.android.gms的POM:google-play-services:jar:13.0.0缺失,没有相关信息可用

[英]Failure with Maven Android : The POM for com.google.android.gms:google-play-services:jar:13.0.0 is missing, no dependency information available

This is the error that I am getting with my current Maven Android Project. 这是我在当前的Maven Android项目中遇到的错误。

The POM for com.google.android.gms:google-play-services:jar:13.0.0 is missing, no dependency information available

I have tried reinstalling google play services from SDK Manager and running mnv clean install still it does not work. 我曾尝试从SDK Manager重新安装谷歌播放服务并运行mnv clean install仍然无法正常工作。

Any idea how to resolve this. 知道如何解决这个问题。

you need to make sure maven can access the repository the artifact can be found in. For example maven central http://search.maven.org/ does not contain the that artifact. 你需要确保maven可以访问可以找到工件的存储库。例如,maven central http://search.maven.org/不包含该工件。

I would expect a settings.xml or a pom.xml to contain some section in that define where to look for this. 我希望settings.xml或pom.xml包含一些定义在哪里查找的部分。

if you can execute maven commands try: mvn help:effective-settings and as well: mvn help:effective-pom that should reveal some repositories. 如果你可以执行maven命令试试: mvn help:effective-settings以及: mvn help:effective-pom应该显示一些存储库。

Another issue may be that you need to configure a proxy server for maven if you are behind one. 另一个问题可能是您需要为maven配置代理服务器(如果您在后面)。

Is the message a warning or an error? 消息是警告还是错误? Because it is also common that some artifacts do not have a pom.xml. 因为一些工件也没有pom.xml也很常见。 So if it is a warning but everything else works just ignore it :) 所以,如果它是一个警告,但其他一切工作只是忽略它:)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Android 依赖项“com.google.android.gms:play-services-stats”对于编译 (16.0.1) 和运行时 (17.0.0) 类路径具有不同的版本 - Android dependency 'com.google.android.gms:play-services-stats' has different version for the compile (16.0.1) and runtime (17.0.0) classpath Android Studio 2.3.3:即使使用Maven也无法解析:com.google.android.gms:play-services-ads:11.8.0 - Android Studio 2.3.3: Failed to resolve: com.google.android.gms:play-services-ads:11.8.0 even with Maven 使用编译时提高Android中的API级别('com.google.android.gms:play-services:+') - Increase API level in Android when using compile ('com.google.android.gms:play-services:+') 升级到'com.google.android.gms:play-services-ads:18.1.0'后Android编译错误 - Android compilation error after upgrading to 'com.google.android.gms:play-services-ads:18.1.0' Android Studio:无法解决:com.google.android.gms:play-services:fp9.0.0 - Android Studio: Failed to resolve: com.google.android.gms:play-services:fp9.0.0 libGDX + com.google.android.gms:play-services:7.0.0:android:dexDebug - libGDX + com.google.android.gms:play-services:7.0.0 : android:dexDebug Android Studio找不到com.google.android.gms:play-services - Android Studio Could not find com.google.android.gms:play-services 实施'com.google.android.gms:play-services-ads:18.1.0' - Implementation 'com.google.android.gms:play-services-ads:18.1.0' 添加实施后 'com.google.android.gms:play-services-ads:17.0.0 应用程序运行错误 - After add implementation 'com.google.android.gms:play-services-ads:17.0.0 app running error 无法解决:com.google.android.gms:play-services-gcm:7.5。+ - Failed to resolve: com.google.android.gms:play-services-gcm:7.5.+
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM