Roman Grout Roman Grout - 1 year ago 164
Android Question

Update Android Studio Gradle plugin to last version

I'm new to Android developpement and I tried to install the Facebook SDK in my Android Studio project.

Then, I have a bug in build.gradle :

Error:(111, 0) Cannot call getBootClasspath() before setTargetInfo() is called.

So I searched for a solution and I found this on the stack:

This is a known issue , which is fixed by updating gradle to :

dependencies {
classpath ''

So I tried this but then I got the error:

Error:Could not find
Searched in the following locations:
Required by:

So I moved into the specified directory and then there is only this:

$> ls
1.0.0 1.1.0
$> pwd

How can I update the gradle plugin?

Answer Source

Change your buildscript block. You have to specify also in this block the repositories.

buildscript {
    repositories {

    dependencies {
        classpath ''

Also you can use the last version:

        classpath ''
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download