I just updated my Android Studio to the lastest version 3.1 and I cannot do anything because of the following error:
org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://dl.google.com/dl/android/maven2/org/jetbrains/annotations/13.0/annotations-13.0.pom'.
It is also saying:
Gradle project sync failed.
This is how my error looks like:
And
Thanks!
You could add below changes in your project gradle for maven dependency and try either it works or not.
ext.androidAnnottationVersion = 'version here'
dependencies {
apt "org.androidannotations:androidannotations:$androidAnnottationVersion"
compile "org.androidannotations:androidannotations-api:$androidAnnottationVersion"
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With