summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2020-03-02 14:33:07 +0100
committerAndy Shaw <andy.shaw@qt.io>2020-03-03 12:36:43 +0100
commitbf059f61338b45e974786d6300f522b3e72a7faa (patch)
treea11db2ab7b5fef2a89e897a3e2a82e2a9af3584c
parente06ce2eb62bc02824669433c5952c193943e0a7e (diff)
Android: Include the resConfigs so that the package can be uploaded
The Google Play Store requires the resConfigs to be set to something valid otherwise it will not accept the package, so we default it to "en" to ensure it is valid. Fixes: QTBUG-81735 Change-Id: I1180481a1e5b88057aed2417716ca4d334080c00 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
-rw-r--r--src/android/templates/build.gradle4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/android/templates/build.gradle b/src/android/templates/build.gradle
index 3087d08c83..171fe0b996 100644
--- a/src/android/templates/build.gradle
+++ b/src/android/templates/build.gradle
@@ -59,4 +59,8 @@ android {
aaptOptions {
noCompress 'rcc'
}
+
+ defaultConfig {
+ resConfigs "en"
+ }
}