[Monodroid] issue with preview 13 + hotfix

Jonathan Pryor jpryor at novell.com
Mon Mar 7 09:55:00 EST 2011


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



More information about the Monodroid mailing list