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

后端 未结 18 979
再見小時候
再見小時候 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:50

    You can always check the latest gradle plugin version here: https://bintray.com/android/android-tools/com.android.tools.build.gradle

    So as of today you should use:

    classpath 'com.android.tools.build:gradle:2.2.2'

    accordingly.

提交回复
热议问题