失败尝试重新安装新的Camera.apk到Android模拟器2.2 [英] Failure trying to reinstall new Camera.apk to android emulator 2.2

查看:243
本文介绍了失败尝试重新安装新的Camera.apk到Android模拟器2.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据<一个href=\"http://stackoverflow.com/questions/2948809/emulators-camera-built-in-app-buggy-in-froyo-2-2\">this,我试图修改GLRootView.java并重新安装新的Camera.apk;然而,一些错误显示出来,当我试图卸载旧Camera.apk。你知道有什么问题,如何解决?

  $ ./adb再登重新装入成功$ ./adb外壳RM /system/app/Camera.apkRM失败/system/app/Camera.apk,目录非空$ ./adb卸载com.android.camera

失败

从日食重新安装

  [2011-05-08 17时41分43秒 - 相机]上传Camera.apk到设备'模拟器-5554
[2011-05-08十七点41分43秒 - 相机]安装Camera.apk ... [2011-05-08 17时42分十一秒 - 相机]
重新安装失败是由于不同的应用程序签名。 [2011-05-08 17点42分11秒 -
相机]你必须执行应用程序的完全卸载。警告:这将
删除应用程序的数据! [2011-05-08 17点42分11秒 - 相机]请执行亚行
在shell卸载com.android.camera。 [2011-05-08 17点42分11秒 - 相机]启动
取消!


解决方案

我已经得到了同样的错误。我认为它可以与系统映像大小进行连接。

尝试启动参数模拟器 -partition尺寸150 。在我的情况下,它解决了这个问题。

有与图片教程如何Android电子市场安装到SDK描述类似的问题。

According to this, I tried to modify GLRootView.java and reinstall new Camera.apk; however, some errors show up when I tried to uninstall the old Camera.apk. Do you know what's the issue and how to resolve it?

$ ./adb remount 

remount succeeded

$ ./adb shell rm /system/app/Camera.apk

rm failed for /system/app/Camera.apk, Directory not empty

$ ./adb uninstall com.android.camera 

Failure

reinstall from eclipse

[2011-05-08 17:41:43 - Camera] Uploading Camera.apk onto device 'emulator-5554' 
[2011-05-08 17:41:43 - Camera] Installing Camera.apk... [2011-05-08 17:42:11 - Camera] 
Re-installation failed due to different application signatures. [2011-05-08 17:42:11 - 
Camera] You must perform a full uninstall of the application. WARNING: This will 
remove the application data! [2011-05-08 17:42:11 - Camera] Please execute 'adb 
uninstall com.android.camera' in a shell. [2011-05-08 17:42:11 - Camera] Launch 
canceled!

解决方案

I've got the same error. I think it can be connected with system image size.

Try to start an emulator with parameter -partition-size 150. In my case it solved the issue.

There is a tutorial with pictures "How to install Android market into SDK" describing similar problem.

这篇关于失败尝试重新安装新的Camera.apk到Android模拟器2.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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