개발/안드로이드2014. 9. 23. 18:52



이클립스에서 LINT 끄기


Package Explorer 에서 해당 프로젝트 Properties 창 열기

-> Android Lint Preferences 선택

-> Configure Workspace Settings... 선택

-> When saving files ... 및 Run full error check when ... 의 체크 해제


-


추가 참고 - MissingTranslation 관련 :


Issue: Checks for incomplete translations where not all strings are translated

Id: MissingTranslation


If an application has more than one locale, then all the strings declared in one language     

should also be translated in all other languages.


By default this detector allows regions of a language to just provide a subset of the 

strings and fall back to the standard language strings. You can require all regions to 

provide a full translation by setting the environment variable 

ANDROID_LINT_COMPLETE_REGIONS.


위 오류 발생시, MissingTranslation 만 Severity 를 Ignore 로 바꿔도 되겠음.


또 다른 방법.


<string name="account_setup_imap" translatable="false">IMAP</string>


<resources

  xmlns:tools="http://schemas.android.com/tools"

  tools:ignore="MissingTranslation" >





Posted by dnsdud