Lint: How to ignore “ is not translated in ” errors?

后端 未结 13 1970
长情又很酷
长情又很酷 2020-11-27 10:46

I can\'t compile/debug our Android app, because the localization files are not perfect yet.

My IDE\'s validation tool Lint create errors saying:

13条回答
  •  独厮守ぢ
    2020-11-27 11:07

    To ignore this in a gradle build add this to the android section of your build file:

    lintOptions {
       disable 'MissingTranslation'
    }
    

提交回复
热议问题