I recently installed android studio version 3.0 and followed the installation and configuration instructions, but this error appeared. I uninstalled and reinstalled and persisted in it, what should I do?
It seems that in your file build.gradle
of your module app
the dependency com.android.support:support-annotations
declared more than once and with different versions. Apparently, you have this dependency on 26.1.0
and 17.1.1
. Just check the version of your compileSdkVersion
. If it is 27, then change all versions of dependencies com.android.support
to 27, otherwise change to version you are in.
If you prefer, post the code of your build.gradle
here to review.