1. 程式人生 > >android Please fix the module's configuration in the build.gradle file and sync the project again

android Please fix the module's configuration in the build.gradle file and sync the project again

新匯入了 安卓專案就出現了這個問題。而且發現 專案 就是出現了一個 專案名, 不能開啟 專案明細裡面的東西看,也是奇怪

試著編譯 一下 gradle 專案,看看是不是會出現其他更多提示錯誤的。

結果發現是 因為  

 classpath 'com.android.tools.build:gradle:3.1.0' 配置過高, SDK 使用 高版本。

改為低一些的版本即可