skip to Main Content
[Build file ‘F:GOOGLE PROJECTSMusicPlayer-devappbuild.gradle’ line: 1

A problem occurred evaluating project ‘:app’.

Failed to apply plugin ‘com.android.internal.application’.
The option ‘android.enableBuildCache’ is deprecated.
The current default is ‘false’.
It was removed in version 7.0 of the Android Gradle plugin.
The Android-specific build caches were superseded by the Gradle build cache (https://docs.gradle.org/current/userguide/build_cache.html).

1

2

Answers


  1. Deleting the gradle user home directory fixed this for me. On Linux this is ~/.gradle. I think it’s C:Users<Username>.gradle on Windows.

    Before that, I also updated my systems Java installation and made [project-dir]/gradlew executable, but I don’t think these steps are actually part of the solution.

    Login or Signup to reply.
  2. I had the same issue.
    Picture with Error

    Resolved it by removing the android.enableBuildCache from parent C:Users<Username>.gradlegradle.properties [Or ~/.gradle/gradle.properties]

    enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search