zoukankan      html  css  js  c++  java
  • Android打包常见问题的解决办法

    第一个问题:Error:Execution failed for task ':app:lintVitalRelease'.
    > Lint found fatal errors while assembling a release target.
    To proceed, either fix the issues identified by lint, or modify your build script as follows:
    ...
    android {
    lintOptions {
    checkReleaseBuilds false
    // Or, if you prefer, you can continue to check for errors in release builds,
    // but continue the build even when errors are found:
    abortOnError false
    }
    }
    ...

    解决办法:

    就是在对应的项目build.gradle里面添加一个配置、在app的build.gradle里的android{}中添加如下代码、然后再次运行Generate Signed Apk就正常了!

    //添加如下配置就ok
        lintOptions {
            checkReleaseBuilds false
            abortOnError false
        }
  • 相关阅读:
    AJAX补充
    JQuery知识补充2
    JQuery知识补充1
    LiveBOS使用指南
    HTML5(1)
    .net 后台导出excel ,word
    Eval绑定方法:多条件绑定:
    repeater 的用法
    两个页面地址栏传值
    js取后台的值
  • 原文地址:https://www.cnblogs.com/evolutionoflicorice/p/7131382.html
Copyright © 2011-2022 走看看