原文:The module is an Android project without build variants, and cannot be built

導入 安卓項目報錯 Error:The module app is an Android project without build variants, and cannot be built. Please fix the module s configuration in the build.gradle file and sync the project again. 看不出來什么鬼問題 ...

2019-01-14 11:46 0 3222 推薦指數:

查看詳情

問題:The project cannot be built until build path errors are resolved

這種錯誤的發生,通常有兩個原因: (1)是因為項目的 .classpath 文件里面記錄了一些目錄,位置,但是它們卻被刪除了,所以導致項目被編輯器認為無法編譯。 (2)本地倉庫導入的jar包有問題 ...

Mon Nov 26 23:24:00 CST 2018 0 1427
Cannot choose between the following variants of project

該問題是升級android studio3.0導致的。 解決辦法: 在build.gradle中 注釋掉: apply plugin: 'android-apt',將apt改成annotationProcessor 以及一些其他問題 The SourceSet ...

Tue Dec 03 17:49:00 CST 2019 0 421
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM