From 296ac495f17d471d4dcf25e1d0109311e35f5d0a Mon Sep 17 00:00:00 2001 From: xiajiid Date: Sun, 8 Feb 2026 17:53:51 +0800 Subject: [PATCH] Update versionCode and versionName for Huawei compatibility release --- app/build.gradle | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index d2f2d3d..7e91feb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -11,18 +11,22 @@ android { applicationId "com.example.app" minSdk 24 targetSdk 34 - versionCode 1 - versionName "1.0" + versionCode 2 + versionName "1.1" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { + debug { + versionNameSuffix "-debug" + } release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } + compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 @@ -53,5 +57,5 @@ dependencies { testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1" } \ No newline at end of file