Skip to content

Commit 19ade32

Browse files
committed
faq entry for keeping all languages in AAB files
1 parent 5f7ce1f commit 19ade32

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/guide/Titanium_SDK/Titanium_SDK_FAQ.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,25 @@ android {
162162
}
163163
```
164164

165+
## Android: Keep all languages in AAB file
166+
167+
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.
168+
To keep all language files you have to disable the language split in your build.gradle file.
169+
170+
```
171+
plugins.withId('com.android.application') {
172+
android {
173+
bundle {
174+
language {
175+
enableSplit = false
176+
}
177+
}
178+
}
179+
}
180+
```
181+
182+
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.
183+
165184
## Android: NDK error "non-system libraries in linker flags"
166185

167186
If you see an error looking like this when you compile your Android module:

0 commit comments

Comments
 (0)