Skip to content

Android Studio Tag Mismatch Issue [Fixed]

The Tag Mismatch is one of the issue that i searched for almost a week,although i find the a workaround the first day.So after a week i found a solution on the stackoverflow which help me fixing the issue. the issue is due to the fact that your ISP may using a transparent proxy server or firewall which is creating the issue. At this point i don’t know exactly why this is happening but the solution is simple change the repository url to use http protocol instead of https. by default your gradle setting use jcenter() and it uses https by default.
To Fix the issue just change this:

allprojects {
    repositories {
       jcenter()
    }
}

TO

allprojects {
    repositories {
       // jcenter()
        maven { url "http://jcenter.bintray.com" }
    }
}

View Answer on StackOverFlow