Android Studio Gradle Error at Compile Time

后端 未结 7 1044
既然无缘
既然无缘 2020-12-14 16:39

I have an Android App in Android Studio. When I build project with Gradle File,it gives me one error at compile time. Error Report:

Error:org.gradle.api.inte         


        
7条回答
  •  情深已故
    2020-12-14 17:07

    For me, I have tried to:

    (Doesn't Work):

    1. invalidate caches.

    2. stop third-party plugins.

    3. remove gradle repository.

    4. remove {project dir}/.gradle/2.*(which are not current gradle version)

    (Work):

    Finally, the answer is like @MAC113's,

    delete {project dir}/.gradle/2.10 (2.10 is my current gradle version)

提交回复
热议问题