Getting Resolve error while importing project in android studio, Unable to load class 'org.codehaus.groovy.runtime.typehandling.ShortTypeHandling'

后端 未结 4 1318
孤城傲影
孤城傲影 2020-12-23 20:27

I am not able to import a project in AndroidStudio because of following error:

Unable to load class \'org.codehaus.groovy.runtime.typehandling.ShortTypeHandl         


        
4条回答
  •  别那么骄傲
    2020-12-23 20:51

    For me, the problem was that I had set Gradle 1.12 in "Settings..>Gradle" as local gradle distribution, however the project was created by a team mate using gradle 2.2.1

    I downloaded gradle 2.2.1 manually and set it as local distribution and problem was solved.

提交回复
热议问题