Tool/Eclipse

이클립스 에러 - Could not fetch model of type 'BuildEnvironment' using connection to Gradle distribution

이웃비 2021. 9. 28. 16:35

이클립스에서gradle project import시 Could not fetch model of type 'BuildEnvironment' using Gradle distribution 에러가 발생했다

 

원인 :  java, gradle 다운 후 시스템 환경설정에서 path설정해주었음에도 불구하고, 경로를 잡지 못했다.

환경변수 설정만 마냥 믿고 다른 방법만 열심히 찾았는데, 좀 더 면밀히 살펴야겠다

 

해결 : import 시

직접 지정해주었다. 그리고 gradle distribution에서  gradle wrapper로 되어있었는데 specific gradle version로 선택하고 높은 버전으로 올렸다(6.8을 권한다고 나왔기때문..) 

 

그리고 해결!

 

 

참고 : https://stackoverflow.com/questions/53991804/could-not-fetch-model-of-type-buildenvironment-using-gradle-distribution

 

Could not fetch model of type 'BuildEnvironment' using Gradle distribution

I'm getting the below error when I have imported a gradle project and tried refreshing it. I'm new to gradle and using gradle wrapper. also, the gradle distribution exists in the repository. Could...

stackoverflow.com