1. 程式人生 > >Android Studio匯入專案錯誤之Gradle版本過高

Android Studio匯入專案錯誤之Gradle版本過高

後來又彈出一對話方塊"The project is using an old version of the android Gradle plugin.
To take advantage of all the latest features,such as Instant run,we strongly recommend that you update the android Gradle plugin to version 2.1.0.
You can learn more about this version of the plugin from the relese notes.",這是一坑。我就是選錯了。找了一下午的原因。原來是因為我Gradle的版本過高,此專案的Gradle版本過低。是否要把此專案的Gradle版本升級為和我機器一樣的2.1.0  。當時手殘,果斷選了Update。。後來就發生了一系列錯誤。。。。"Execution failed for task':app:mergeDebugResources'.
> Some filecrunching failed,see logs for details."