gradle-unused-resources-remover-plugin
gradle-unused-resources-remover-plugin copied to clipboard
Unicode sequence replaced by unicode character
Overview
In files that are modified by this plugin, some lines are undesirably changed as well.
In my project, the following string
<string name="more_app_version" tools:ignore="PluralsCandidate">© %1$d xxxxxx v%2$s%3$s</string>
was replaced (not removed) by the following string
<string name="more_app_version" tools:ignore="PluralsCandidate">© %1$d xxxxxx v%2$s%3$s</string>
Description
To reproduce:
Create a strings.xml
file that
- contains at least 1 unused resource and
- at least 1 string resource that is still used and contains a unicode sequence.
Verify behavior
- expected: remove unused resource
- actual behavior: unused resource is removed AND used resource is modified
the android studio provider remove unused res button,why didn't use it?