1、定位到当前项目中的strings.xml文件
1、菜单栏找到"Analyze"->"Run Inspection By Name..."->输入"unused resources"回车
3、选择Custom scope中Current File,点击OK,就会列出所有无效的字符串,选择右侧remove all即可
1、定位到当前项目中的strings.xml文件
1、菜单栏找到"Analyze"->"Run Inspection By Name..."->输入"unused resources"回车
3、选择Custom scope中Current File,点击OK,就会列出所有无效的字符串,选择右侧remove all即可