apk - Unable to update android studio lint settings -


i using android studio 1.1.0. want disable specific lint checks 'incomplete translation'. so, went file -> settings... -> inspections -> android lint , unchecked 'incomplete translation' item, pressed apply & ok buttons. now, generating signed apk still throws lint errors related missing translations.

further on, disabled entire android lint item see if generation of signed apk skips lint error checking or not. result still got same lint errors missing translations whereas expecting no lint error checking per updated settings. bug android studio or doing wrong here?

note don't want disable lint error checking entirely, can adding following lines under build.gradle:

lintoptions {     checkreleasebuilds false } 

i want turn off few lint checks settings dialog.

as per official doc http://tools.android.com/tips/lint/suppressing-lint-warnings

"to suppress error, open issue in editor , run quickfix/intentions action (ctrl/cmd f1) , select suppress use annotations, attributes or comments disable issue."

or can specify translatable tag resource configure this.

either 1 one

<string name="hello" translatable="false">hello</string> 

or entire resource

<?xml version="1.0" encoding="utf-8"?> <resources   xmlns:tools="http://schemas.android.com/tools"   tools:ignore="missingtranslation" >    <!-- other strings no need of translatable attribute -->  </resources> 

to know more lint settings configurations

read this http://tools.android.com/tips/lint/suppressing-lint-warnings


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -