How to update gradle in android studio?

前端 未结 14 2001
Happy的楠姐
Happy的楠姐 2020-11-22 09:15

I installed Android Studio 0.1.9. Today I got and update to version 0.2 and of course I updated. After the installation I restarted Android Studio but now I get this messag

14条回答
  •  难免孤独
    2020-11-22 09:28

    For those who still have this problem (for example to switch from 2.8.0 to 2.10.0), move to the file gradle-wrapper.properties and set distributionUrl like that.

    distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
    

    I changed 2.8.0 to 2.10.0 and don't forget to Sync after

提交回复
热议问题