Open Zenlua opened 1 month ago
What is the logic to filter "extra strings" that works for all apks ?
If the added strings file has a key that does not exist in the original strings, the extra string will be auto deleted, In apktool will add ids, and a warning appears that string does not exist, but this is redundant.
Try new (beta) update
To activate advanced features clone and build with:
./gradlew betaJar
When I add extra text to the string it still shows an error.
ERROR: Undefined entry name: <string name="testkk"/>Wed</string>
You can rely on public.xml to filter out redundant text. Any text that has not been added in public.xml will be auto deleted. This can apply to all other items: array, dimen, bool, etc
Can you add feature flags?
This feature will be useful for someone adding a language pack, and some extra strings will give an error, but if there are too many extra strings, it will take a long time to delete.
It is possible to use loops to automatically delete, but it is quite cumbersome