Skip to content Skip to sidebar Skip to footer

Android Studio 1.0.2 M2respository Gradle Issue

Using Android Studio 1.0.2, and you are forced to use Gradle 2.2.1, all system variables are correct. With the new update there are issues with older versions of gradle and m2repos

Solution 1:

The version of Gradle is 2.2.1, but you're plugging that into the place where the version number of the Android Gradle plugin goes. That's currently at 1.0.0. Instead of this:

    classpath 'com.android.tools.build:gradle:2.2.1'

use this:

    classpath 'com.android.tools.build:gradle:1.0.0'

Solution 2:

yes, it works.

Firstly the jcenter repository not includes 2.2.1 version. so need to change to 1.0.0/1.0.1

Post a Comment for "Android Studio 1.0.2 M2respository Gradle Issue"