如何模拟应用程序更新 [英] How can I simulate an app update

查看:36
本文介绍了如何模拟应用程序更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 SQLite 来存储一些数据.最近有用户抱怨我每次更新应用程序时,数据库都会被擦除.

I am using SQLite to store some data. Recently I had a complaint by an user telling me that everytime I update the app, the database is wiped.

我想解决这个问题,但首先我需要模拟应用程序更新,而无需将其上传到 google play 并等待.

I want to fix this, but first I need to simulate an application update without uploading it to google play and waiting.

推荐答案

您无需将 apk 上传到 google,您可以使用 adb 直接将其安装在您的设备中.

You dont need to upload the apk to google, You can install it directly in your device with adb.

adb install -r yourApp.apk 

这篇关于如何模拟应用程序更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆