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>