С этого утра у меня проблемы с синхронизацией моего андроид-проекта в android-studio.
Когда я пытаюсь это сделать, я получаю каждый раз одни и те же ошибки: Часть ошибок
Все эти ошибки вызваны одной и той же проблемой:
Caused by: java.io.IOException: Response 204: No Content has no content!
И действительно, при попытке ручного доступа к адресу ничего нет Пример одного из них
Любая идея, если это на моей стороне или на Google / Maven's?
проект build.gradle:
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:3.2.1"
classpath "com.google.gms:google-services:4.2.0"
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Модуль build.gradle:
apply plugin: "com.android.application"
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.tmproject.nviseur.ticketless_compagnon"
minSdkVersion 19
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
buildToolsVersion "28.0.3"
}
dependencies {
implementation fileTree(include: ["*.jar"], dir: "libs")
implementation "com.android.support:appcompat-v7:28.0.0"
implementation "com.android.support:support-media-compat:28.0.0"
implementation "com.android.support:exifinterface:28.0.0"
implementation "com.android.support:support-v4:28.0.0"
implementation "com.android.support.constraint:constraint-layout:1.1.3"
testImplementation "junit:junit:4.12"
androidTestImplementation "com.android.support.test:runner:1.0.2"
androidTestImplementation "com.android.support.test.espresso:espresso-core:3.0.2"
implementation "com.google.firebase:firebase-core:16.0.5"
implementation "com.google.firebase:firebase-ml-vision:18.0.1"
implementation "com.journeyapps:zxing-android-embedded:3.6.0"
implementation "com.google.code.gson:gson:2.8.5"
}
apply plugin: "com.google.gms.google-services"