Android Studio bug versioncode versionname signed apk issue

If you change android:versionCode=”224″ and android:versionName=”2.2.4″ in AndroidManifest.xml you have to change this in build.gradle file too.
Click on build.gradle in package explorer tree change your new version name and code:

  defaultConfig {
        applicationId "cz.okhelp.pocasiwidget"
        minSdkVersion 11
        targetSdkVersion 23
        versionCode 224
        versionName "2.2.4"
This entry was posted in Android Studio, Bugs, warnings, errors. Bookmark the permalink.

Comments are closed.