0
我想添加一个admob横幅到我的android应用程序,但我不能添加这个依赖关系。你能帮我请如何添加admob依赖关系?
这是代码
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.2.0'
compile 'com.android.support:design:23.2.0'
compile 'com.google.android.gms:play-services-ads:11.2.0'
}
我得到这个错误
Error:(26, 13) Failed to resolve: com.google.android.gms:play-services-ads:11.2.0
<a href="install.m2.repo">Install Repository and sync project</a><br><a href="openFile:D:/WorldOfKids/app/build.gradle">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>