简体   繁体   English

OSMDroid Bonus Pack-gradle.build错误-无法解决依赖关系

[英]OSMDroid Bonus Pack - gradle.build error - Failed to Resolve Dependency

I'm attempting to follow the HowToInclude tutorial, however I've run into an issue with the dependency failing to resolve. 我正在尝试遵循HowToInclude教程,但是我遇到了一个依赖关系无法解决的问题。 Specifically, this step: 具体来说,此步骤:

Then in the build.gradle of your app, add this dependency: 然后在您的应用程序的build.gradle中,添加以下依赖项:

dependencies { ... compile 'com.github.MKergall:osmbonuspack:6.5.1' } and that's it. 依赖项{...编译'com.github.MKergall:osmbonuspack:6.5.1'}就是这样。

Upon trying to sync Gradle I get the following error: 在尝试同步Gradle时,出现以下错误:

Failed to Resolve: com.github.MKergall:osmbonuspack:6.5.1 无法解决:com.github.MKergall:osmbonuspack:6.5.1

This issue is answered here . 这个问题在这里回答。 Hopefully osmbonuspack documentation will be improved. 希望osmbonuspack文档将得到改善。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM