导入 安卓项目报错

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'

改低了之后, 这个问题解决了

最新文章

  1. Visual C#编写3D游戏框架示例
  2. PHP常用正则表达式汇总
  3. 99. Recover Binary Search Tre
  4. POJ 2689 Prime Distance (素数筛选法,大区间筛选)
  5. php and web service with wsdl
  6. [转]看看国外的javascript题目,你能全部做对吗?
  7. oracle 报Ora-01008错误:oracle 并非所有变量都已绑定的原因.TO_number();动态执行select..into..语句时
  8. uiautomatorviewer 可以查看到android中的web 元素信息
  9. ubuntu常用命令(转)
  10. TestComplete实测Flex
  11. 转载:ionic+nodejs开发遇到的跨域和post请求数据问题
  12. Maven学习-构建项目
  13. 接口开发,tp5结合swagger-ui安装方法
  14. ROS(indigo) turtlebot2 + android一些有趣应用
  15. 基于IAR平台FreeRTOS移植
  16. @Vue/Cli 3 Invalid Host header 检测关闭
  17. linux测试系统使用expdp迁移数据到windos系统,11.2.0.4版本测试
  18. BugPhobia开发篇章:Alaph阶段Scurm Meeting
  19. MFC DestroyWindow[转]
  20. LNK2005 _DllMain@12 mfcs100d.lib

热门文章

  1. 366. Fibonacci
  2. spring 启动异常Failed to read candidate component class
  3. c# 获取键盘的输入
  4. Kotlin基础(四)Lambda编程
  5. bootstrap datepicker显示日历
  6. 2018 完美搭建VS Code 的JAVA开发环境并解决print乱码问题
  7. Dijkstra求次短路
  8. 将map中的值赋值给一个java对象
  9. redis:消息发布与订阅频道
  10. CSS之优先级