Android Studio 2.0 - Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to

后端 未结 17 934
我寻月下人不归
我寻月下人不归 2020-11-28 22:15

I updated the Android Studio version 2.0 and was using normally. When I created a new project today, it is displaying the error Plugin is too old, please update to a

17条回答
  •  我在风中等你
    2020-11-28 22:44

    You need to change your gradle-wrapper.properties file in gradle/wrapper folder of your app, change your distributionUrl as this:

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

    Use http: or https:\ as per your requirement. Then just clean your project and you are done!!!

    Side Note :

    classpath 'com.android.tools.build:gradle:2.0.0-alpha3'
    

    is available now, if you want to use latest version.

    Also you can take advantage of instant run feature of android studio using this, which is not available in gradle version below 2.0.0

提交回复
热议问题