Bergutov Ruslan
Bergutov Ruslan

Reputation: 157

How to test update of Android application?

I need to test application update because it has major changes in database structure

i tried to use adb install -r app.apk, but it says INSTALL_FAILED_UPDATE_INCOMPATIBLE

here everyone says that you need to uninstall app from device, but i need to UPDATE. I think this situation may occur when i try to update from app from market with release signatures to development apk build from android studio

Upvotes: 0

Views: 1056

Answers (1)

Henry
Henry

Reputation: 43798

The signing key of the already installed app version and of the new version must be the same. Either try the update from a version signed with the debug key or prepare your new version signed with the production key.

Upvotes: 2

Related Questions