Build failed when generate signed APK with Android Studio -


when try build project, error occurred:

    error: "mail_subtitle" translated here not found in default locale [extratranslation]     error: "login_subtitle" translated here not found in default locale [extratranslation]     error: "password_subtitle" translated here not found in default locale [extratranslation]             ~~~~~~~~~~~~~~~~~~~~~     /xxxxxx/src/main/res/values-es/strings.xml:336: translated here    explanation issues of type "extratranslation":    if string appears in specific language translation file, there    no corresponding string in default locale, string    unused. (it's technically possible application intended    run in specific locale, it's still idea provide    fallback.).    note these strings can lead crashes if string looked on    locale not providing translation, it's important clean them    up.    > lint found fatal errors while assembling release target.   proceed, either fix issues identified lint, or modify build script follows:   ...   android {       lintoptions {           checkreleasebuilds false           // or, if prefer, can continue check errors in release builds,           // continue build when errors found:           abortonerror false       }   }   ... 

ok, know error because have strings translated (to spanish , portuguese), don't have default translation. problem default translation inside library , not in project.

the structure of whole project need described: default translation inside library , translations inside other project. classes use these strings inside library, , translations inside project uses library, because need different translation each project i'm building.

android studio suggest lintoptions "abortonerror false" don't want use flag, wanna advised when build error occurs, don't wanna see specific error.

try adding strings.xml in default values folder /src/main/res/values/strings.xml ?

and add 3 missing strings in default language.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -