gpt4 book ai didi

Android Gradle Sync 同步项目失败

转载 作者:行者123 更新时间:2023-11-29 01:14:06 25 4
gpt4 key购买 nike

Android Gradle Sync 无法同步项目:

Unable to find method 'org.gradle.api.internal.project.ProjectInternal.getPluginManager()Lorg/gradle/api/internal/plugins/PluginManagerInternal;

enter image description here

最佳答案

我认为这是gradle缓存的问题。我认为你需要清除它。 SO 的最佳解决方案是

"You can safely delete the whole .gradle folder located under project directory. It'll be recreated every time the tasks are run. The same is for .gradle under home directory. It'll also be recreated as well, but the whole dependencies must be downloaded again - it's quite time-consuming.

As I see in various places over the web gradle for android development is quite slow and people complain about it. No idea what's reason exactly - this is how it works.

I don't think that low performance is because of big folders. Actually they help it to be faster.

there might gradle.properties as well as global gradle scripts located under $HOME/.gradle. In such case special attention must be paid when deleting the content of this directory."

看看this关联 。 如果有帮助请选择它作为答案并告诉我。

关于Android Gradle Sync 同步项目失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40926976/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com