Jest to obecnie moja konfiguracja kompilacji modernizacji 2 dla gradle
compile "com.squareup.retrofit:retrofit:2.0.0-beta2"
compile "com.squareup.okhttp3:okhttp:3.2.0"
compile "com.squareup.okhttp:logging-interceptor:2.6.0"
compile "com.squareup.retrofit:converter-gson:2.0.0-beta2"
compile "com.squareup.retrofit:adapter-rxjava:2.0.0-beta2"
Jak wszyscy wiedzą, retrofit 2 jest poza wersją beta, staram się go uaktualnić do nowszej wersji, która wygląda tak, jak poniżej
compile "com.squareup.retrofit2:retrofit:2.1.0"
compile "com.squareup.okhttp:logging-interceptor:2.6.0"
compile "com.squareup.retrofit2:converter-gson:2.1.0"
compile "com.squareup.retrofit2:adapter-rxjava:2.1.0"
Nie jestem w stanie zbudować mojej gradle Zyskuję wyjątek podczas budowania gradle jako javacIllegalArgumentException
Odpowiedzi:
0 dla odpowiedzi № 1Możesz wypróbować mavenCentral zamiast jcenter w "build.gradle":
repositories {
//jcenter()
mavenCentral()
}