LoginSignup
4
4

More than 5 years have passed since last update.

AndroidStudioでアプリをビルドしたときに「Plugin is too old, please update to a more recent version」エラーが出た時の対処法

Last updated at Posted at 2016-03-09

Problem

AndroidStudioでアプリをビルドしたときに、以下のエラーが発生する。

Error:(21, 0) Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to "41b72d353033bfb5aa4d6a98088a908dcae15ef9"

Solution

1 . ターミナルで、以下のコマンドを実行し環境変数を登録する
(OS Xアプリケーションに環境変数を渡すには、launchctlコマンドのsetenvオプションで設定します。アプリケーションの再起動後から設定が反映されます。)

$ launchctl setenv ANDROID_DAILY_OVERRIDE 41b72d353033bfb5aa4d6a98088a908dcae15ef9

2 . AndroidStudioを起動して、アプリをビルドする。

参考

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4