android - Automatically removing unreferenced strings from strings.xml -


in android app have lot of strings in strings.xml never used because removed code modules referenced them. there automatic way in eclipse or using other tool remove strings?

for in $(lint . | grep 'the resource r.string.* appears unused' | perl -ne 'print "$1\n" if /r.string.(.*) appears/');  perl -pi -e 's/.*<string name="'$i'".*\n//' res/values*/strings.xml; done 

Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -