How to update gradle in android studio?

前端 未结 14 2233
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:35

    On Mac, open terminal and run the following commands as per instructions:

    $ curl -s https://get.sdkman.io | bash
    

    then

    $ sdk install gradle 3.0
    

    Once the installation is complete, the terminal would ask whether to set it as a default version so type y and make it the default version.

    Now open Android Studio -> Terminal and run the following command

    Gradle --version
    

提交回复
热议问题