[mono-android] 4.0 Upgrade Issues MonoDevelop 2.8.4.1 / MacOS X Snow Leopard

Andreia Gaita andreia at xamarin.com
Wed Dec 7 07:55:17 EST 2011


Hi,

Even though 2.8.4.2 fixes the issue, there might be another problem
with your package, since Fast Deployment should never be active in
release mode (and therefore you should never have hit that issue).

Look inside (unzip) your release package and make sure all assemblies
are included in it. If they're missing, open your .csproj file in an
editor and check if anywhere there's a project property named
EmbedAssembliesIntoApk (Normally this key should only be present in
the debug configuration, and only if you changed the Fast Deployment
option manually on the IDE)

Let me know what you find

andreia gaita

Sent from my iPad

On Dec 7, 2011, at 9:30, Steven Pack <steven_john_pack at yahoo.com.au> wrote:

> Back in business. MonoDevelop 2.8.4.2 fixes the issue.
>
> http://www.mail-archive.com/mono-list@lists.ximian.com/msg35302.html
>
> Startup time has definitely improved. Getting 3-4 secs now on my 2 year
> old HTC Legend running Android 2.2 (was 5-10 secs previously).
>
>
>>
>>
>> Message: 8
>> Date: Tue, 6 Dec 2011 15:59:23 -0500
>> From: Jonathan Pryor <jonp at xamarin.com>
>> Subject: Re: [mono-android] 4.0 Upgrade Issues MonoDevelop 2.8.4.1 /
>>    MacOS X    Snow Leopard
>> To: Discussions related to Mono for Android
>>    <monodroid at lists.ximian.com>
>> Message-ID: <97101952-0100-46C7-BCBA-F1ABF45130DE at xamarin.com>
>> Content-Type: text/plain; charset=us-ascii
>>
>> On Dec 6, 2011, at 6:52 AM, Steven Pack wrote:
>>> 1. Deploy to emulator or device (Release Mode)
>>> Waiting for packaging processing to complete
>>> Getting package list from device
>>> Installing package
>>> 1613 KB/s (10733084 bytes in 6.496s)
>>>    pkg: /data/local/tmp/com.xxxdictionary.android-Signed.apk
>>> Success
>>> Installing assemblies
>>> Internal error. Argument cannot be null. Parameter name: source
>>
>> That's not good. :-(
>>
>> Could you try again with verbose MSBuild output enabled?
>>
>>    http://docs.xamarin.com/android/troubleshooting#monodroid.exe_or_aresgen.
>> exe_exited_with_code_1
>>
>>> 2. NullReferenceException at runtime
>>> 2011-12-06 22:32:27.454 D 17592/Database: Executing SELECT word, sort_key
>>> FROM definitions WHERE (metaphone="P") ORDER BY sort_key
>>> 2011-12-06 22:32:27.544 I 17592/mono: Stacktrace:
>>> 2011-12-06 22:32:27.584 E 17592/mono:
>>> Unhandled Exception: System.NullReferenceException: Object reference not
>>> set to an instance of an object
>>
>> No stack trace? (Yes, I saw your message about not editing.) :-(
>>
>> Which API level are you targeting? Android didn't get a usable
>> libsqlite.so until Android v2.2, iirc.
>>
>>> 3. Release Notes?
>>
>>    http://android.xamarin.com/Releases/Mono_for_Android_4/Release_4.0.0
>>
>>> 4. Rollback??
>>
>> Install the .msi/.dmg that corresponds to the previous version. You can
>> download them from:
>>
>>    https://store.xamarin.com/account/products
>>
>> - 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