Android studio 问题处理记录

  1. 问题描述:Error: “ke” is not translated in “en” (English), “pt” (Portugu
    解决方法:在 build.gradle(Module:app) 下加入:
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
    }
}

思路总结:先看log(下边就是log内容),其实处理方法就在log中,先不要急着去百度 谷歌

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
    }
}
发布了98 篇原创文章 · 获赞 35 · 访问量 9万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章