The project is using an unsupported version of the Android Gradle plug-in (0.8.3). Version 0.9.0 introduced incompatible changes in the build language.

環境構築 > Gradle

エラーメッセージ

 状態:解決済  閲覧数:2,941  投稿日:2014-03-09  更新日:2014-03-09
Failed to refresh Gradle project '★★' The project is using an unsupported version of the Android Gradle plug-in (0.8.3).  Version 0.9.0 introduced incompatible changes in the build language. Please read the migration guide to learn how to update your project. Open migration guide, fix plug-in version and re-import project


対応


1.キャシュ削除
・File -> Invalidate caches / Restart

2.「Android Studio」シャットダウン
・File -> Exit

3.gradleフォルダ名変更、もしくは削除
・Rename/remove .gradle folder in the user home directory
▼D:/android-studio/plugins/gradle/

4.「Android Studio」再度起動
・Gradleセッティングを促されるのでダウンロード
・Restart Android Studio let it download all the Gradle stuff it needs

5.Gradle build 成功
・Gradle build success !

6.プロジェクト再構築成功
・Rebuild project.... success !


Error running MainActivity: Gradle project sync failed. Please fix your project and try again.



週間人気ページランキング / 9-26 → 10-2
順位 ページタイトル抜粋 アクセス数
1 Android FAQ 11
2 複数画面が存在する時、起動後初期表示される画面はどこで決まるの? | 仕組み 2
2 この行に複数マーカーがあります | エラー(エラー) 2
2 ○○は解決できないか、フィールドではありません | エラー(エラー) 2
2 キーバインドの競合が発生しました。 通常のアクセラレーター操作を妨げる可能性があります。 | エラー(エラー) 2
3 XMLファイルを「配置」する方法 1
3 Androidエミュレータで、PCキーボード入力を有効にしたい | エミュレータ(環境構築) 1
3 エディターを開くことができません: 予期しない例外が起こりました。 | エラー(エラー) 1
3 基本的な処理の流れ 1
3 Unbind failed: could not find connection for android.os.BinderProxy@★★ | エラー(エラー) 1
3 「Android Studio 3.1.2」で「Propertiesペイン」が表示されない | Android Studio(IDE) 1
3 実際に遭遇した例 1
3 新規プロジェクトを作成する方法 | プロジェクト(環境構築) 1
3 いくつかのプロジェクトは、ワークスペース・ディレクトリーにすでに存在するため、インポートできません | エラー 1
3 対応 1
3 Eclipseが起動しない … ユーザ操作は待機中です | Eclipse(IDE) 1
3 values-ja/strings.xmlに記載した内容が反映されない | 多言語化(環境構築) 1
3 両者の違い 1
2026/10/3 5:05 更新