Android gradle插件7.1.3,插件[id:' com.android.application',版本:' 7.1.3' apprip applion:applion:false]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(6)
我知道我在回答此查询时已经晚了,而且我也知道Android Gradle插件7.1.3已发布了解决该问题的问题。但是我刚刚发现了Android Studio的另一个问题,也就是说,当您进入代理网络时。在代理网络中并应用代理设置时,然后如果您切换到非Proxy网络,则代理详细信息仍保存在 gradle.properties(Global Properties)文件中,并且该详细信息会导致难以连接当我们切换到非Proxy网络时,下载Gradle文件。我面对这个问题,当我从 gradle.properties(Global Properties)文件中手动删除所有代理详细信息时,该问题就解决了。我希望这对面临同一问题的人有帮助。
I know I am late in answering to this query and I am also aware that Android Gradle Plugin 7.1.3 has been released which solved the problem. But I just found out another issue with android studio and that is, when you're in proxy network. When in proxy network and we apply proxy settings and then if you switch to non-proxy network then the proxy details are still saved inside gradle.properties(Global Properties) file and that details are causing trouble to connect and download gradle files when we switch to non-proxy network. I faced this issue and when I remove all the proxy details manually from the gradle.properties(Global Properties) file then the problem is solved. I hope this helps for someone facing the same issue.
在收到升级 Gradle 插件的建议后,我也遇到了这个问题,这就是我所做的,
以下内容更改
我将build.gradle(Project: MyProjectName) 中的
为此
,然后单击“重试”,
它解决了我的问题
I just had this problem too after receiving a recommendation to upgrade Gradle plugin, here's what I did,
I changed the following
in the build.gradle(Project: MyProjectName)
to this
and clicked on 'try again'
it SOLVED my issue
Android Gradle插件8.0.0已发布。问题解决了。
Android Gradle Plugin 8.0.0 has been released. Problem solved.
您的插件对我来说看起来很奇怪,
我只希望看到其中之一。如果这是您的应用程序模块,则该应用程序要么是库模块。也许尝试删除您不需要的那个?
顺便说一句,我刚刚进行了与您相同的升级,从7.1.2到7.1.3,而且效果很好。
我不知道配电系统是如何工作的,但是另一个选择可能是,似乎刚刚发布了,也许您的计算机连接到的内容交付网络尚未收到更新,并且如果您只是等待一点,然后再试一次它可能起作用。
Your plugin imports look odd to me
I would only expect to see one of these; either the application if this is your application module, or the library if this is a library module. Maybe try removing the one you don't need?
As an aside, I have just done the same upgrade as you, from 7.1.2 to 7.1.3, and it worked fine.
I've no idea how the distribution system works but another option might be that as it seems like it's just been released maybe whatever content delivery network your computer is connecting to hasn't received the update and if you just wait a bit and try again it might work.
我在build.gradle文件中检查了我的插件版本如下,
它是最新且2月发布的版本,单击下面的链接以获取有关Gradle版本的信息。
https://develighter.android.com/studio/releases/ Gradle-Plugin#7-1-0
我检查了所有版本,但尚未找到
7.1.3
版本。如果您手动输入此版本,则将它们制作为7.1.2
如上所述,然后再次运行。 在以下任何来源中找不到版本7.1.3
因为错误也会说,如果问题相同,则 。让我知道。
I checked in my build.gradle file and saw that my plugin version is as below
It is the latest and February-released version click the below link for getting info on the Gradle version.
https://developer.android.com/studio/releases/gradle-plugin#7-1-0
I checked all versions but have not found the
7.1.3
version. If you entered this version manually then make them7.1.2
as code above and run again. Because error is also say that version7.1.3
not not found in any of the following sourcesIf the problem is the same. Let me know.
这是一个已知的错误,请参阅此处:
https://issuetracker.google.com/228336564
href =“ https://issuetracker.google.com/228336572” rel =“ nofollow noreferrer”> https://issuetracker.google.com/228336572
com/228340263“ rel =“ nofollow noreferrer”> https://issuetracker.google.com/228340263
This is a known bug, see here:
https://issuetracker.google.com/228336564
https://issuetracker.google.com/228336572
https://issuetracker.google.com/228340263
https://issuetracker.google.com/228340265