Gradle build failing after update to Android studio 2.3 Canary 3

后端 未结 9 1994
北海茫月
北海茫月 2021-01-03 20:19

I\'ve recently updated the android studio version of my project from 2.3 Canary 2 to 2.3 Canary 3. Since then the gradle build is failing every time with this error:

9条回答
  •  感情败类
    2021-01-03 21:25

    The solution is to select "Use default gradle wrapper (recommended)" option in the build gradle panel like the image below. Now you can build with gradle 3.2 (in your gradle-wrapper.properties) and android gradle:2.3.0-alpha3 or beta1 as the time of writing

    Don't forget to invalidate cache if you have some trouble using File -> Invalidate Cache / Restart

提交回复
热议问题