Reputation: 1030
I get an error when trying to build and deploy an app. I have an existing application on the device of version 1.0.0. When I'll try to build and deploy to device with an higher number I get an error message that an app with a higher version is already installed.
So to be sure that this wasn't the issue, I tried to deploy an app with version 999.999.999. Still the same error:
The current application is made in Cordova (PhoneGap), the new app in Android Studio but that shouldn't be an issue. It's not possible to say "OK" because we need the data in the old app.
Upvotes: 0
Views: 361
Reputation: 19278
You need to increase your version code
instead of version name
. That will solve your problem. Version name
is the version to the user. Version code
is your actual version number.
Upvotes: 3