An error occurred while trying to reinstall the new Camera.apk in the Android 2.2 emulator.

Accordingly , I tried to modify GLRootView.java and reinstall the new Camera.apk; however, some errors appear when I tried to delete the old Camera.apk. Do you know what the problem is and how to solve 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 

Renouncement

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!
+3
source share
2 answers

I have the same error. I think this may be due to the size of the system image.

Try to run the emulator with the parameter -partition-size 150. In my case, this solved the problem.

There is a tutorial with photos "How to install the Android market in the SDK" that describes a similar problem.

+1

- , :

adb remount
adb shell

:

cd /system/app
rm Camera.apk

!!!

0

All Articles