升级AndroidStudio到2.3之后,签名apk文件报错mission translation

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文件中的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
    }

其他解决方案见http://m.blog.csdn.net/article/details?id=50043487

另外关于签名release文件新出的 两个选项 v1(jar signature),v2(full apk signature).

详细解释在大神这里:

http://blog.csdn.net/u013134391/article/details/60580852

你可能感兴趣的:(Java后台)