原文: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