revanced-manager icon indicating copy to clipboard operation
revanced-manager copied to clipboard

feat: Bump aapt2 to build-tools 35.0.2

Open Taknok opened this issue 7 months ago • 4 comments

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'.

Taknok avatar Apr 19 '25 18:04 Taknok