這是Gradle應用程序代碼,它顯示錯誤
無法編譯
所以我拉我的頭髮沒有得到錯誤。
請有人在這裏平!錯誤:無法解析:com.google.firebase:firebase-appindexing:9.6.1
android {
compileSdkVersion 24
buildToolsVersion "24.0.3"
defaultConfig {
applicationId "com.google.firebase.codelab.friendlychat"
minSdkVersion 16
targetSdkVersion 24
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:design:24.2.1'
compile 'com.github.bumptech.glide:glide:3.6.1'
compile 'de.hdodenhof:circleimageview:1.3.0'
compile 'com.android.support:appcompat-v7:24.2.1'
// Google
compile 'com.google.android.gms:play-services-auth:9.6.1'
// Firebase
compile 'com.google.firebase:firebase-database:9.6.1'
compile 'com.google.firebase:firebase-auth:9.6.1'
compile 'com.google.firebase:firebase-config:9.6.1'
compile 'com.google.android.gms:play-services-appinvite:9.6.1'
compile 'com.google.firebase:firebase-messaging:9.6.1'
compile 'com.google.android.gms:play-services-ads:9.6.1'
compile 'com.google.firebase:firebase-crash:9.6.1'
This line getting error please anybody get in touch
compile 'com.google.firebase:firebase-appindexing:9.6.1'
}
apply plugin: 'com.google.gms.google-services'
我的火基地API 9.6.1沒有奏效。 – jsroyal