Lint found fatal errors while assembling a release target

Информация, статьи, патчи, исходные коды и т.д.
Post Reply
sva
Администратор
Posts: 125
Joined: 01 May 2015, 19:56

Lint found fatal errors while assembling a release target

Post by sva »

Возникла ошибка при сборке signed apk.

Во вкладке Event log:

Code: Select all

Generate Signed APK: Errors while building APK. You can find the errors in the 'Messages' view.
В Build:

Code: Select all

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
    }
}
...
Чтобы решить её нужно пройти по пути Вашего проекта в папку app\build\outputs\lint-results-release-fatal.html и уже там посмотреть ошибку. У меня было:
Correctness:Messages
3 Error MissingTranslation: Incomplete translation
То есть недоставало трёх переводов.
Post Reply