zoukankan      html  css  js  c++  java
  • 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.

    看不出来什么鬼问题?

    百度一下

    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' 

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

  • 相关阅读:
    KMP
    Trie 树
    Miller-Rabin质数测试
    快速幂
    Matlab 对图片的二值化处理
    huffman tree
    hdu5512-Pagodas
    迷宫
    poj2488-A Knight's Journey【DFS】
    linux操作
  • 原文地址:https://www.cnblogs.com/xgjblog/p/10266019.html
Copyright © 2011-2022 走看看