1

My old code was

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
 package="com.webservice"
 android:versionCode="1"
 android:versionName="1.0" >

And I changed it to

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
 package="com.webservice"
 android:versionCode="2"
 android:versionName="2.2" >

But still getting the same error

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115

2 Answers2

1

You will have to set your build.gradle file (App module)

android {
    ...
    defaultConfig {
         ...
         versionCode 2
         versionName "2.2"
         ...
    }
    ...
}
statosdotcom
  • 3,109
  • 2
  • 17
  • 40
-1

Your versions should be like this -

 android:versionCode="2"
 android:versionName="1.1"
Shoeb Siddique
  • 2,805
  • 1
  • 22
  • 42