How to set gradle home while importing existing project in Android studio

后端 未结 29 1229
借酒劲吻你
借酒劲吻你 2020-12-02 04:49

How to set gradle home while importing existing project in Android studio. While trying to import I need to set up this path.

相关标签:
29条回答
  • 2020-12-02 05:11

    For Ubuntu default version is /usr/lib/gradle/default. In case of update, you don't need to reassign link in idea/studio.

    0 讨论(0)
  • 2020-12-02 05:13

    If you are on windows machine, go to the directory C:\Program Files\Android\Android Studio\gradle\ and click the gradle folder and apply it on

    0 讨论(0)
  • 2020-12-02 05:17

    On Arch Linux I could not find it, so I added:

    echo $APP_HOME
    

    to /usr/bin/grade (found over which gradle)

    The Install dir for me was /usr/share/java/gradle/

    0 讨论(0)
  • 2020-12-02 05:21

    I ran into same problem. I selected location C:\Program Files (x86)\Android\android-studio\plugins\gradle as Gradle Home

    0 讨论(0)
  • 2020-12-02 05:22

    I am using Lubuntu, I ended up finding it in :

    /usr/share/gradle

    0 讨论(0)
提交回复
热议问题