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

后端 未结 18 957
再見小時候
再見小時候 2020-11-28 04:01

today I just imported a sample app from Android SDK as a module in my project (analytics) and suddenly I got this gradle error when I try to sync it: Plugin is too old

18条回答
  •  野性不改
    2020-11-28 04:44

    I got a way which finally resolve this 1. check your calsspath in the top build.gradle,e.g mine is classpath 'com.android.tools.build:gradle:2.1.0-alpha3' then go to https://jcenter.bintray.com/com/android/tools/build/gradle/ find a release which is newer than yours,here I choose 2.1.0-beta3 change classpath to below, then launch the build. classpath 'com.android.tools.build:gradle:2.1.0-beta3'

提交回复
热议问题