Unindexed remote maven repositories in IntelliJ IDEA 14

前端 未结 7 2031
我寻月下人不归
我寻月下人不归 2020-12-30 19:22

I\'ve imported an existing Gradle project to IntelliJ IDEA. I keep getting a notification:

Unindexed remote maven repositories found.

7条回答
  •  一个人的身影
    2020-12-30 20:02

    I have same problem. My experience is deleting ~/.gradle dir will work fine, no more warning again.

    I think this is because the ~/.gradle dir is first used by my Eclipse(Spring Tool Suite), so the files inside there are not registered in IDEA's internal index db, so cause the warning.

    Here is what i'v done:

    First, i chose "Open Repositories List", then click update in the dialog, then it will take too long time to complete the action. Then i checked the ~/.gradle, it's very big, it even contains android sdk related jars, this is why it's so slow.

    So, i deleted ~/.gradle, then reopen IDEA, no more warning again. I checked ~/.gradle again, it only contains my dependency jars.

提交回复
热议问题