Получение ниже сборки Ошибка: СБОЙ: Сборка не удалась с исключением.
Что пошло не так: выполнение задачи не выполнено ': app: processDebugGoogleServices'.
Исправьте конфликт версий, либо обновив версию плагина google-services (информация о последней версии доступна по адресу https://bintray.com/android/android-tools/com.google.gms.google-services/), либо обновив версию com.google.android.gms до 16.0.3.
Попробуйте: Запустите с параметром --stacktrace, чтобы получить трассировку стека. Запустите с параметром --info или --debug, чтобы получить дополнительные выходные данные журнала. Запустите с --scanчтобы получить полное представление.
Получите дополнительную помощь по https://help.gradle.org
СБОЙ СТРОИТЕЛЬСТВА за 2 с
мой build.gradle ниже
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.google.firebase:firebase-core:16.0.3' compile 'com.android.support:appcompat-v7:26.1.0' compile "com.google.firebase:firebase-auth:16.0.3" compile 'com.google.firebase:firebase-database:16.0.1' compile 'com.google.android.gms:play-services-auth:16.0.0' compile "com.google.firebase:firebase-storage:16.0.1" compile 'com.google.firebase:firebase-core:16.0.3' compile 'com.google.firebase:firebase-messaging:17.3.0' compile 'com.android.support:multidex:1.0.0' compile 'com.android.support:cardview-v7:26.1.0' compile 'com.android.support:design:26.1.0' compile 'jp.wasabeef:recyclerview-animators:2.2.5' testCompile 'junit:junit:4.12' compile 'io.realm:realm-android:0.82.1' compile('com.facebook.android:facebook-android-sdk:+') { exclude group: 'com.android.support', module: 'multidex' } compile 'com.google.code.gson:gson:2.2.+' compile 'com.github.bumptech.glide:glide:3.7.0' compile 'com.miguelcatalan:materialsearchview:1.4.0' compile 'com.google.firebase:firebase-ads:15.0.1' compile 'com.github.silvestrpredko:dot-progress-bar:1.1' compile 'com.wang.avi:library:2.1.3'
В вашем build.gradle не было заявок от Служб Google, поэтому добавьте:
build.gradle
Apply plugin: 'com.google.gms.google-services'
А также:
classpath 'com.google.gms:google-services:4.1.0'
В другом Build.gradle и тогда оно должно работать.
Build.gradle
применить этот плагин
apply plugin: 'com.google.gms.google-services'