如何在Android Studio中设置Gradle Wrapper

huangapple 未分类评论50阅读模式
英文:

How to Setting Gradle Wrapper in Android Studio

问题

为什么在我下载了Gradle版本6.3之后,我的Android Studio要下载版本5.4.1。

为什么尽管我已经下载了Gradle版本6.3,还会出现这种情况。

请帮助我。

我使用的Android Studio版本:3.5.2。

以下链接是我的Android版本的截图:
https://i.stack.imgur.com/48Tg6.png

以下链接是我的Android首选项的截图:
https://i.stack.imgur.com/wzPGR.png

这是我的目录文件路径的截图:
https://i.stack.imgur.com/zmKl2.png

这是当我的Android Studio正在下载Gradle 5.4.1时的截图:
https://i.stack.imgur.com/Vnka7.png

这是我在终端中的Gradle版本:
https://i.stack.imgur.com/rGLKD.png

这是我在终端中的Java版本:
https://i.stack.imgur.com/Tpjqs.png

这是我在终端中的javac版本:
https://i.stack.imgur.com/Yklq6.png

这是我在终端中的Homebrew版本:
https://i.stack.imgur.com/uBhZ0.png

英文:

why after, I downloaded gradle version 6.3, my android studio wanted to download version 5.4.1.

why is that, even though I have downloaded gradle version 6.3.

Please help me

i use android studio version : 3.5.2

the link below is a screenshot of my android version
https://i.stack.imgur.com/48Tg6.png

the link below is a screenshot of my android preference
https://i.stack.imgur.com/wzPGR.png

this is my directory file path screenshot
https://i.stack.imgur.com/zmKl2.png

this is a screenshot when my android studio is downloading gradle 5.4.1
https://i.stack.imgur.com/Vnka7.png

this is my gradle version in terminal
https://i.stack.imgur.com/rGLKD.png

this is my java version in terminal
https://i.stack.imgur.com/Tpjqs.png

this is my javac version in the terminal
https://i.stack.imgur.com/Yklq6.png

this is my homebrew version in the terminal
https://i.stack.imgur.com/uBhZ0.png

答案1

得分: 0

如果你的 gradle-wrapper.properties 指定了 Gradle 版本为 5.4.1,你的 Android Studio 将会下载这个版本。

我不清楚 Android Studio v3.5.2 是否能够使用 Gradle v6.3。根据我的了解,截至到我的 Android Studio v3.6.3 版本,似乎默认使用的是 Gradle v5.6.4。

如何在Android Studio中设置Gradle Wrapper

英文:

If your gradle-wrapper.properties specifies gradle version 5.4.1, your Android Studio would download the version.

如何在Android Studio中设置Gradle Wrapper

And I don't know the Android Studio v3.5.2 can use gradle v6.3. As of my Android Studio v3.6.3, it seems gradle v5.6.4 is the default.

huangapple
  • 本文由 发表于 2020年5月4日 18:26:25
  • 转载请务必保留本文链接:https://java.coder-hub.com/61590061.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定