Eddybrtn
Eddybrtn

Reputation: 743

App bundle language split doesn't seem to handle regions

I have the following error message when uploading the bundle of my app on the play store :
enter image description here

The most heavy part of the APK is the raw folder, it contains a lot of .mp3 files.
All files are localized in raw folder, like this :
enter image description here

Inside build.gradle, I have configured like this :

bundle {
    language {
        enableSplit = true
    }
    density {
        enableSplit = true
    }
    abi {
        enableSplit = true
    }
}

Each language has the exact same number of .mp3 files, yet when I generate the apks from the .aab with bundletool, I can clearly see that the zh apk is heavier than other languages :
enter image description here
enter image description here

It seems there is only 1 apk for both zh-rCN and zh-rTW resources.
So, what should I do to handle the language split properly, with the regions ?

Upvotes: 1

Views: 1631

Answers (1)

Pierre
Pierre

Reputation: 17437

Only splitting by language is supported. Splitting by region is not supported. You can file a feature request.

Upvotes: 1

Related Questions