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
Post a Comment