1. 程式人生 > 其它 >Android Studio執行專案出現Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to

Android Studio執行專案出現Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to

技術標籤:Android學習日誌android

問題:

Android Studio執行專案出現Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id 'com.android.internal.application']

解決方法:

在專案中的gradle.properties檔案中新增以下語句:

android.overridePathCheck=true

新增完成後在點選右上角的重新整理就可以了

無標題.png