title: "You need to use a different version code for your APK or Android App Bundle" No matter what version code set
body: <p>I am trying to upload a new update for the beta version of my last app on google play store.</p>
  
  <p>I've tried several version codes, 1,2,3,29 !! But no matter what version code is set, it shows this error</p>
  
  <blockquote>
    <p>Upload failed
    You need to use a different version code for your APK or Android App Bundle because you already have one with version code 29</p>
  </blockquote>
  
  <p>please note that the last version of the app is actually 1.</p>
  
  <p>Here is a part of my gradle app</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 28
      defaultConfig {
          applicationId "com.company.myapp"
          minSdkVersion 18
          targetSdkVersion 28
          versionCode 29
          versionName "29.2.5"
          multiDexEnabled true
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
          release {
              minifyEnabled true
              proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
          }
      }
  }
  </code></pre>