Gradle build errors after updating Android Studio

前端 未结 11 2193
无人共我
无人共我 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:07

    I had same issue, because my office PC is 32-bit and my home PC is 64 bit. In the local.properties file, I changed

    sdk.dir=C:/Program Files/Android/android-studio/sdk

    to

    sdk.dir=C:/Program Files (x86)/Android/android-studio1/sdk

    note the x86 version of Program Files

提交回复
热议问题