简体   繁体   中英

Android apk replace vs Update

I have an application already installed on the mobile, am trying to install the update version of it.

I placed the apk inside the data/data folder, using file manager at the path,am trying to install it - it shows a dialog to replace but not upgarde (Signed with the same key-store and version code/version name has an incremental value).

Could someone explain me more on this?

Upgrade is only possible when you actually follow the installation procedure from Android Market. Else, it would just be a replace.

There is a difference between installing and subsequently, updating, apps off Google Play. Applications installed via a File Manager, for instance, will always prompt you to replace and not update an application. Side-loading apps on devices directly, does not have that mechanism to update. This is true not only for your app, but for every app.

It does not matter how it was signed or even the increment of your app's version.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM