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

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

    The solution of removing the '-rcX' part works. I wanted to provide some more detail on why the error is happening. The issue is with https://android.googlesource.com/platform/tools/base/+/master/build-system/gradle/src/main/groovy/com/android/build/gradle/BasePlugin.java#230

    There is a default 40 days 'retirement age' for plugins that don't have a version or contain 'rc', 'alpha', or 'beta'.

提交回复
热议问题