This tool is used to compare strings between two apks.
The output of the script will be output.md
which contains 4 sections:
- Added - list of added keys (language independent)
- Removed - list of removed keys (language independent)
- Renamed - list of possibly renamed keys (language independent). Key is considered renamed if the same value appears in source apk and target apk, but the key is removed in the target apk. This does not always mean that the key is renamed, but can give helpful hints, hence "possibly renamed".
- Changed - list of keys for which the value has changed between two versions (checked for each language specified in the params including the default language which is in
res/values
)
- Python 3.7 must be installed.
Take two versions of an apk and see what has changed between two versions e.g. what is new in the latest release.
The script takes following arguments as input:
sourceApk
- path to the apk that is used as source (base) for comparisontargetApk
- path to the apk that is used as target for comparisonlanguages
- languages to compare e.g. mk, de. Default language is always compared.
Run the script and supply the arguments e.g.
python .\apk-strings-diff.py release-1.0.0.apk release-1.1.0.apk de mk