From 19ade322d68fc93647ab96cbed9c2ac39181812e Mon Sep 17 00:00:00 2001 From: m1ga Date: Mon, 2 Jun 2025 21:01:36 +0200 Subject: [PATCH] faq entry for keeping all languages in AAB files --- docs/guide/Titanium_SDK/Titanium_SDK_FAQ.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/guide/Titanium_SDK/Titanium_SDK_FAQ.md b/docs/guide/Titanium_SDK/Titanium_SDK_FAQ.md index f1f115d040..d957d8038a 100644 --- a/docs/guide/Titanium_SDK/Titanium_SDK_FAQ.md +++ b/docs/guide/Titanium_SDK/Titanium_SDK_FAQ.md @@ -162,6 +162,25 @@ android { } ``` +## Android: Keep all languages in AAB file + +When you create and upload an AAB file it will only install the language that the device has. If you use an app internal language switch the other languages are missing after the installation. +To keep all language files you have to disable the language split in your build.gradle file. + +``` +plugins.withId('com.android.application') { + android { + bundle { + language { + enableSplit = false + } + } + } +} +``` + +The `plugins.withId('com.android.application') {}` part is needed in case you use Hyperloop. Without hyperloop you can just add the inner `android {}` part to the build.gradle. + ## Android: NDK error "non-system libraries in linker flags" If you see an error looking like this when you compile your Android module: