Could not find com.android.tools.build:gradle-experimental:0.11.1.

401 views
Skip to first unread message

Rushi

unread,
Jun 27, 2018, 4:23:29 PM6/27/18
to android-ndk
Hello All,
I am trying to upgrade Android studio from 3.0.1 to 3.1.3 and my project works on 3.0.1 without any issues ,but on the latest version i get the following error



And this is my build.gradle file 



Andrew Esh

unread,
Jul 3, 2018, 4:24:01 PM7/3/18
to android-ndk
Also, my repositories is this:
    repositories {
        jcenter()
        google()
    }

Maybe the google repository has versions of gradle that are more suited for use with later versions of Android Studio.

Andrew Esh

unread,
Jul 3, 2018, 4:24:01 PM7/3/18
to android-ndk
That's very old. Mine is:

        classpath 'com.android.tools.build:gradle:3.2.0-beta01'

Maybe you should check if you can upgrade yours, depending on your other project version choices.


On Wednesday, June 27, 2018 at 3:23:29 PM UTC-5, Rushi wrote:

Alex Cohn

unread,
Jul 15, 2018, 6:28:53 AM7/15/18
to android-ndk
The experimental gradle plugin is not supported anymore, here is the official guide to migrate: http://tools.android.com/tech-docs/new-build-system/gradle-experimental/migrate-to-stable.

BR,
Alex
Reply all
Reply to author
Forward
0 new messages