How can I find all hard coded strings in my project in Android Studio

問題:

I need to find and extract all hard coded strings in my project in Android Studio (beta) 0.84.我需要在 Android Studio (beta) 0.84 的項目中查找並提取所有硬編碼字符串。 I need a static analysis tool like Find Bugs do this for me in one shot and allow me to step through each message and extract the string to resource files.我需要一個像 Find Bugs 這樣的靜態分析工具,一次性爲我完成這項工作,並允許我單步執行每條消息並將字符串提取到資源文件中。 Even better would be if the entire process is automated.如果整個過程是自動化的,那就更好了。

In Android Studio (beta) 0.84 the File / Setting /FindBugs-IDEA shows I18N as an option under Reporting tab.在 Android Studio (beta) 0.84 中,文件 / 設置 /FindBugs-IDEA 將 I18N 顯示爲報告選項卡下的選項。 But I just cannot figure out how to make it work.但我就是不知道如何使它工作。

Thanks for any suggestions.感謝您的任何建議。


解決方案:

參考: https://stackoom.com/en/question/1h52P
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章