Instant run won't work on Android Studio, says Gradle Version 2.10 is required. I use 2.10

后端 未结 2 1456
我寻月下人不归
我寻月下人不归 2021-01-12 06:56

This is the error I get:

Error:Gradle version 2.10 is required. Current version is 2.8. If using the gradle wrapper, try editing the distributionUrl in /User         


        
相关标签:
2条回答
  • 2021-01-12 07:33

    You need set Use default gradle wrapper in

    Settings > Builds,Execution,Deployment > Build Tools > Gradle >Project-level settings

    0 讨论(0)
  • 2021-01-12 07:45

    I just changed mine

    dependencies {
        classpath 'com.android.tools.build:gradle:2.0.0-alpha5'
    }
    

    for this

    dependencies {
        classpath 'com.android.tools.build:gradle:2.0.0'
    }
    

    For me its working

    0 讨论(0)
提交回复
热议问题