diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 78561506ca540497d5e364ae784d7df682e320c7..8b5def62432792c85aa6ed486b027804628ecea0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,7 +24,9 @@ android:build-debug:
     - echo keyPassword=$ANDROID_DEBUG_KEY_PASSWORD >> android/key.properties
     # build flutter app
     - VERSION_NAME="$(grep '^version:' pubspec.yaml | cut -d' ' -f2 | cut -d'+' -f1)"
+    - echo "${VERSION_NAME}"
     - VERSION_CODE="$(grep '^version:' pubspec.yaml | cut -d' ' -f2 | cut -d'+' -f2)"
+    - echo "${VERSION_CODE}"
     - flutter packages get
     - flutter clean
     - flutter build apk --debug --split-per-abi
@@ -57,6 +59,9 @@ android:build-release:
     - echo keyAlias=$ANDROID_KEY_ALIAS >> android/key.properties
     - echo keyPassword=$ANDROID_KEY_PASSWORD >> android/key.properties
     # build flutter app
+    - BASE_APK_FOLDER="build/app/outputs/flutter-apk"
+    - echo "${BASE_APK_FOLDER}"
+    - mkdir -p "${BASE_APK_FOLDER}"
     - VERSION_NAME="$(grep '^version:' pubspec.yaml | cut -d' ' -f2 | cut -d'+' -f1)"
     - VERSION_CODE="$(grep '^version:' pubspec.yaml | cut -d' ' -f2 | cut -d'+' -f2)"
     - TAG_NAME="Release_${VERSION_NAME}_${VERSION_CODE}"
@@ -71,7 +76,6 @@ android:build-release:
         flutter build apk --release
       fi
     # prepare artifact
-    - BASE_APK_FOLDER="build/app/outputs/flutter-apk"
     - for APK in ${BASE_APK_FOLDER}/*.apk; do mv -v "${APK}" "$(echo "${APK}" | sed "s|\.apk|_${VERSION_CODE}.apk|")"; done
     - find "${BASE_APK_FOLDER}" -name "*.apk" # where are my apk?
   artifacts:
diff --git a/android/app/build.gradle b/android/app/build.gradle
index deeddea955d7c13ea645ef68b0c9474211167434..57e585ab125c372e3a5f6cd185ff46fee5b7417e 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -30,7 +30,6 @@ android {
         targetSdk = flutter.targetSdkVersion
         versionCode = flutter.versionCode
         versionName = flutter.versionName
-        archivesBaseName = "$applicationId" + "_" + "$versionCode"
     }
 
     signingConfigs {