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

 

导入 安卓项目报错android


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.app

看不出来什么鬼问题?gradle

百度一下ui

https://stackoverflow.com/questions/49834961/the-module-app-is-an-android-project-without-build-variantsspa

参考,看了一下。it

将 classpath grdle 版本改低一些。  以前是  3.2.0 是最新的版本了。估计最新版有兼容性问题吧。io

将  classpath 'com.android.tools.build:gradle:3.1.0' class

改低了以后, 这个问题解决了module

相关文章
相关标签/搜索