如何在Android上安装/替换,而不使用Eclipse [英] How to install/replace on Android without using Eclipse

查看:186
本文介绍了如何在Android上安装/替换,而不使用Eclipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙伴给我发送了一个.apk文件的更新版本。

A buddy sent me a later version of an .apk file. I already had the earlier version on my device.

当我尝试adb安装该文件时,我得到了:

When I tried to adb install the file, I got this:

$ adb install ../FlashLite.apk 
320 KB/s (18311 bytes in 0.055s)
    pkg: /data/local/tmp/FlashLite.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]

$ adb uninstall FlashLite.apk
Failure

$ adb uninstall /data/local/tmp/FlashLite.apk
Failure

如何从cmd行安装/替换?我没有源代码,所以我不能从Eclipse。

How do you install/replace from the cmd line? I don't have the source, so I cannot do it from Eclipse.

推荐答案

在设置下从手机中删除旧版本 - >应用程序 - >管理应用程序,然后安装应该工作。

delete the old version from your phone under settings->applications->manage applications and then the install should work.

这篇关于如何在Android上安装/替换,而不使用Eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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