[Monodroid] issue with preview 13 + hotfix

Narcís Calvet narcis at steema.com
Mon Mar 7 10:12:49 EST 2011


Thanks Jon,

That was it. By default the application targeted Android 2.2 while the
device has 2.1.


Best Regards,
 
Narcís Calvet
Steema Software
http://www.steema.com 
http://twitter.com/SteemaSoftware 
http://www.facebook.com/people/Steema-Chart/100000763549519

-----Original Message-----
From: monodroid-bounces at lists.ximian.com
[mailto:monodroid-bounces at lists.ximian.com] On Behalf Of Jonathan Pryor
Sent: dilluns, 7 / març / 2011 15:55
To: monodroid at lists.ximian.com
Subject: Re: [Monodroid] issue with preview 13 + hotfix

On Mar 7, 2011, at 9:37 AM, Narcís Calvet wrote:
> With preview 13 I got the "Unhandled exception in button_ok_Click:Task"
plus this one: Unhandled exception in InstallSharedRuntime.  See exception
for details. Exception details are:
>  
> MonoDroid.InstallFailedException:        pkg:
/data/local/tmp/Mono.Android.Platform.apk
>  
>  
> Failure [INSTALL_FAILED_OLDER_SDK]

With the new per-platform .apk files, we're using the /manifest/uses-sdk
element to specify the minimum SDK version, e.g. for the API level 8
Mono.Android.Platform.apk file:

	<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="8" />

Consequently, you cannot install these packages on downlevel platforms, e.g.
you can't instal the API level 8 package on an API level 7 device. I imagine
this is what you're trying to do.

The fix is to change your application's Android API level (iirc in Project
Options -> Applications tab) to match (or be lower than) your target device.

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid at lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid




More information about the Monodroid mailing list