The module is an Android project without build variants, and cannot be built
2024-08-26 05:36:38
导入 安卓项目报错
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.
看不出来什么鬼问题?
百度一下
https://stackoverflow.com/questions/49834961/the-module-app-is-an-android-project-without-build-variants
参考,看了一下。
将 classpath grdle 版本改低一些。 之前是 3.2.0 是最新的版本了。估计最新版有兼容性问题吧。
将 classpath 'com.android.tools.build:gradle:3.1.0'
改低了之后, 这个问题解决了
最新文章
- Visual C#编写3D游戏框架示例
- PHP常用正则表达式汇总
- 99. Recover Binary Search Tre
- POJ 2689 Prime Distance (素数筛选法,大区间筛选)
- php and web service with wsdl
- [转]看看国外的javascript题目,你能全部做对吗?
- oracle 报Ora-01008错误:oracle 并非所有变量都已绑定的原因.TO_number();动态执行select..into..语句时
- uiautomatorviewer 可以查看到android中的web 元素信息
- ubuntu常用命令(转)
- TestComplete实测Flex
- 转载:ionic+nodejs开发遇到的跨域和post请求数据问题
- Maven学习-构建项目
- 接口开发,tp5结合swagger-ui安装方法
- ROS(indigo) turtlebot2 + android一些有趣应用
- 基于IAR平台FreeRTOS移植
- @Vue/Cli 3 Invalid Host header 检测关闭
- linux测试系统使用expdp迁移数据到windos系统,11.2.0.4版本测试
- BugPhobia开发篇章:Alaph阶段Scurm Meeting
- MFC DestroyWindow[转]
- LNK2005 _DllMain@12 mfcs100d.lib