[mono-android] problem deploying 4.2.2

Jonathan Pryor jonp at xamarin.com
Mon Jun 11 15:26:45 UTC 2012


On Jun 11, 2012, at 4:58 AM, John Murray wrote:
> All works as expected except when I try to debug on the test machine – an xperia arc s running 2.3.5
>  
> I get
>                 pkg: /sdcard/tmp/com.murray.Agar14-Signed.apk
> Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

It looks like you get INSTALL_FAILED_UPDATE_INCOMPATIBLE if you have e.g. App v1 (signed with Key K1) installed on the device, and then you try to install App v2 (signed with Key K2) onto the device:

	https://groups.google.com/group/android-developers/browse_thread/thread/3f084d78a15f6d3d/f35b31af3cf44903

Remove the app before trying to install it:

	# is the app still installed?
	$ adb shell pm list packages | grep -i YourAppPackageName
	# If so...
	$ adb uninstall YourAppPackageName

Then re-deploy from the IDE.

 - Jon



More information about the Monodroid mailing list