Force Android Studio to download and install gradle 1.10 or 1.1

后端 未结 7 1515
眼角桃花
眼角桃花 2020-12-24 02:50

I installed Android Studio 0.5.1 and my project is not working any more. Error it provides is:

The project is using an unsupported version of Gradle. Pleas         


        
7条回答
  •  我在风中等你
    2020-12-24 03:14

    Try this:

    Modify the gradle-wrapper.properties

    distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip
    

    and your build.gradle

    compileSdkVersion 19 
    buildToolsVersion "19.0.1"
    

    running:./gradlew clean assemble in the terminal

    Also you may want to read this

    glhf

    Update, he solved it:

    https://plus.google.com/101589574290830309525/posts/7YzcE6YpfwK

    I finally solved it, by removing .idea folder and all .iml files and imported project as new one.

提交回复
热议问题