1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-02 00:10:22 +02:00

give debug package separate app ID and name

allows installing debug version alongside the store one
This commit is contained in:
Andrey Filipenkov 2023-02-26 12:23:36 +03:00
parent d05fffbad7
commit a1fd874243
2 changed files with 8 additions and 1 deletions

View File

@ -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'
}

View File

@ -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">