簡體   English   中英

Eclipse 掛起添加 Gradle 性質

[英]Eclipse hangs on adding Gradle nature

使用 Buildship 3.1.2 運行 Eclipse 2019-06。 從現有文件夾創建一個項目,當添加 gradle 性質時,Eclipse 做了一些工作,然后卡在“導入根項目:運行構建”。 Already removed and reinstalled Gradle, removed and reinstalled Buildship, deleted ~/.gradle and /.gradle files, tried using both Gradle wrapper and the current version of Gradle (5.6.2). .metadata/.log 文件中沒有幫助。

但是在 ~/.gradle/daemon/5.6.2/daemon-*.logs 中找到了這條消息:

Publishing a build scan to scans.gradle.com requires accepting the Gradle Terms of Service defined at https://gradle.com/terms-of-service . 您接受這些條款嗎? [是的,沒有]

答案似乎是取消選中 Preferences 中 Gradle 下的“Build Scans”。

我需要更新 Eclipse 中的 Buildship 插件並修復它。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM