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,936  投稿日: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.