[mono-android] UnsatisfiedLinkError
Jonathan Pryor
jonp at xamarin.com
Fri Dec 23 09:56:59 EST 2011
On Dec 23, 2011, at 7:12 AM, sanya wrote:
> When I deploy application from monodevelop everything ok, but when I install
> it from SD card and run it, app crashes with error:
How are you "install[ing] from SD card"?
> Could not load type 'Safelog.SafelogApplication, Safelog,
> Version=1.0.4374.24094, Culture=neutral, PublicKeyToken=null'. Skipping JNI
> registration of type 'safelog/SafelogApplication'.
It can't find Safelog.dll, and thus can't register the native methods within the SafelogApplication type, in particular the n_OnCreate() native.
As a workaround, try disabling fast deployment, and/or build a Release package.
- Jon
More information about the Monodroid
mailing list