Slillz
Slillz

Reputation: 165

Failed to sync gradle 3.1 project in Android Studio:

I'm new to Android Studio. When I open it I keep getting an error that says "Gradle sync failed: Unable to load class 'org.gradle.tooling.internal.consumer.connection.InternalBuildActionAdapter'."

I'm using Android 2.2 and gradle 3.1

enter image description here

enter image description here

Any assistance will be appreciated.

Upvotes: 0

Views: 719

Answers (1)

Gino Mempin
Gino Mempin

Reputation: 29546

Are you not getting this same error?

I don't think you can use Gradle 3.x for Android Studio.
From this this link, maybe the supported right now is up to 2.x.
Try downgrading the Gradle version.

Upvotes: 1

Related Questions