如何测试不同版本的code和仿真器的Andr​​oid小分贝的变化APK [英] How to test apk with different version code and small db change on emulator Android

查看:153
本文介绍了如何测试不同版本的code和仿真器的Andr​​oid小分贝的变化APK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我上传了在Android Play商店的 APK 文件后来只好在数据库中的微小变化。我了解到,我们要改变的版本code和Android版本,以便使谷歌商店来答谢新的APK作为更新到previous之一。

我的问题是,我们如何能够在测试模拟器这种变化?当过我尝试运行新建code。

我碰到下面的错误。

  [2012-06-11 11时44分32秒 -  Intelsat公司]重新安装失败是由于不同的应用程序签名。
[2012-06-11 11点44分32秒 - Intelsat公司]您必须执行应用程序的完全卸载。警告:这将删除该应用程序的数据!
[2012-06-11 11点44分32秒 - Intelsat公司]请在shell中执行'亚行卸载com.intelsat。
[2012-06-11 11点44分32秒 - Intelsat公司]启动取消!


解决方案

安装在你的模拟器版本是​​比你想测试一个不同的签名。你可能对仿真器的调试版本,你要安装一个发行版本(反之亦然)。

只需卸载模拟器上的版本,然后安装要测试的那个。

I had uploaded an apk file on android play store and later had to make a small change in the database. I've learned that we have to change the version code and android version in order for the google store to acknowledge the new apk as an update to the previous one.

My question is, how can we test this change in an emulator? When ever I am trying to run the newly built code.

I get the following error.

[2012-06-11 11:44:32 - Intelsat] Re-installation failed due to different application signatures.
[2012-06-11 11:44:32 - Intelsat] You must perform a full uninstall of the application. WARNING: This will remove the application data!
[2012-06-11 11:44:32 - Intelsat] Please execute 'adb uninstall com.intelsat' in a shell.
[2012-06-11 11:44:32 - Intelsat] Launch canceled!

解决方案

The version installed on your emulator is signed with a different signature than the one you want to test. You probably have a debug version on the emulator and you are trying to install a release version (or vice versa).

Just uninstall the version on the emulator and install the one you want to test.

这篇关于如何测试不同版本的code和仿真器的Andr​​oid小分贝的变化APK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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