Gradle build errors after updating Android Studio

前端 未结 11 2207
无人共我
无人共我 2020-12-12 23:30

I just updated Android Studio, and now when I try to build my app, I get the following Gradle error:

Information: Compilation completed with 2 e         


        
11条回答
  •  清歌不尽
    2020-12-13 00:28

    As for me ANDROID_HOME didn't work. It shows error that path is not found/exists which is totally stupid. Also I tried to create local.properties with sdk.dir=D:/android/sdk - this also wont work with the same error saying this path does not exist. What helped me - a RELATIVE PATH, so when I set

    sdk.dir=../../../android/sdk
    

    it starts to work

提交回复
热议问题