Lucky Dog

[안드로이드] 안드로이드 스튜디오 하드코딩 문자열 검색 (find hard code string) 본문

안드로이드

[안드로이드] 안드로이드 스튜디오 하드코딩 문자열 검색 (find hard code string)

Poohya 2018. 8. 21. 14:43

안드로이드 스튜디오 상단 메뉴에서

Analyze > Run Inspection By Name... (Ctrl+Alt+Shift+I)


and type:

Hardcoded Text to find the hardcoded strings in the .xml files;

Hardcoded Strings to find the hardcoded strings in the .java files.

Run it against the whole project, and you should get an inspection results panel that will show the hardcoded text instances.


참조 : [https://stackoverflow.com/questions/30799211/android-find-all-hardcoded-strings-in-code-using-android-studio](https://stackoverflow.com/questions/30799211/android-find-all-hardcoded-strings-in-code-using-android-studio)
Comments