Update my gradle dependencies in eclipse

前端 未结 5 1476
时光取名叫无心
时光取名叫无心 2020-11-30 00:11

I have a simple gradle project in my eclipse. I update the build.gradle to include a few apache http jars...

dependencies {
    compile group: \'commons-coll         


        
5条回答
  •  粉色の甜心
    2020-11-30 00:56

    I tried all above options but was still getting error, in my case issue was I have not setup gradle installation directory in eclipse, following worked:

    eclipse -> Window -> Preferences -> Gradle -> "Select Local Installation Directory"

    Click on Browse button and provide path.

    Even though question is answered, thought to share in case somebody else is facing similar issue.

    Cheers !

提交回复
热议问题