diff --git a/android/vcmi-app/build.gradle b/android/vcmi-app/build.gradle index 95416582b..671556fc0 100644 --- a/android/vcmi-app/build.gradle +++ b/android/vcmi-app/build.gradle @@ -23,6 +23,10 @@ android { buildTypes { debug { debuggable true + applicationIdSuffix '.debug' + manifestPlaceholders = [ + applicationLabel: 'VCMI debug', + ] ndk { debugSymbolLevel 'full' } @@ -32,6 +36,9 @@ android { zipAlignEnabled true signingConfig signingConfigs.releaseSigning proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + manifestPlaceholders = [ + applicationLabel: '@string/app_name', + ] ndk { debugSymbolLevel 'symbol_table' } diff --git a/android/vcmi-app/src/main/AndroidManifest.xml b/android/vcmi-app/src/main/AndroidManifest.xml index dd39d74c3..a0bf14dcf 100644 --- a/android/vcmi-app/src/main/AndroidManifest.xml +++ b/android/vcmi-app/src/main/AndroidManifest.xml @@ -11,7 +11,7 @@ android:allowBackup="false" android:installLocation="auto" android:icon="@mipmap/ic_launcher" - android:label="@string/app_name" + android:label="${applicationLabel}" android:testOnly="false" android:supportsRtl="true" android:theme="@style/Theme.VCMI">