revanced-manager
revanced-manager copied to clipboard
feat: Bump aapt2 to build-tools 35.0.2
This solve the issue of revanced crashing when rebuilding the app when it has grammatical gender string https://developer.android.com/about/versions/14/features/grammatical-inflection
Source: aapt2 repository
Attestation: gh attestation verify
This should fix some case of https://github.com/ReVanced/revanced-manager/issues/2142 as the old aapt binary crashed when gendered string are used. Example:
$ ~/libaapt2.so compile --dir ./tmp_van/patcher/apk/res --legacy -o ./tmp_van/patcher/apk/build/resources.zip
./tmp_van/patcher/apk/res/values-fr-feminine-v34/arrays.xml: error: invalid configuration 'fr-feminine-v34'.
./tmp_van/patcher/apk/res/values-fr-feminine-v34/strings.xml: error: invalid configuration 'fr-feminine-v34'.
./tmp_van/patcher/apk/res/values-fr-masculine-v34/arrays.xml: error: invalid configuration 'fr-masculine-v34'.
;/tmp_van/patcher/apk/res/values-fr-masculine-v34/strings.xml: error: invalid configuration 'fr-masculine-v34'.
./tmp_van/patcher/apk/res/values-fr-neuter-v34/arrays.xml: error: invalid configuration 'fr-neuter-v34'.