Skip to content Skip to sidebar Skip to footer

Gradle Project Sync Failed. Basic Functionality - Failed On Android Studio 2.2

I have Android Studio version 2.2 and when I open a new project, it says in the Messages tab: Error:C:\Users\Rooprai.gradle\caches\2.14.1\scripts-remapped\settings_4a7gjv1r4bbxs9f

Solution 1:

Go to the directory \Users\user\.gradle\caches\2.x.

You will find the directories scripts & scripts-remapped. Keep a backup of them and then delete them from the directory.

Retry gradle sync. It should work as it will generated new cache files.

Hope this helps. Thanks.

Solution 2:

add in your build.gradle

buildTypes {
release {
    minifyEnabled false
    proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}

Sync gradle then clean and rebuild project.it will work

Post a Comment for "Gradle Project Sync Failed. Basic Functionality - Failed On Android Studio 2.2"