[mono-android] problem deploying 4.2.2

John Murray john at murray.gb.com
Mon Jun 11 16:56:26 UTC 2012


Tx Jonathan 
I'll try that 
- enjoy your beer in San Francisco 

-----Original Message-----
From: Jonathan Pryor [mailto:jonp at xamarin.com] 
Sent: 11 June 2012 16:27
To: john at murray.gb.com; Discussions related to Mono for Android
Subject: Re: [mono-android] problem deploying 4.2.2

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/3f08
4d78a15f6d3d/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