Hello fadden,

First of all, thank you for your help.
My classpath was effectively not correct.
Now I have a NoSuchFieldError that I will investigate.

Olivier


On 8 avr, 00:36, fadden <[email protected]> wrote:
> On Apr 7, 3:01 am, olivier <[email protected]> wrote:
>
> > 04-07 09:39:03.374: WARN/dalvikvm(241): JNI WARNING: JNI method called
> > with exception raised
> > 04-07 09:39:03.384: WARN/dalvikvm(241):              in Ljava/lang/
> > Runtime;.nativeLoad (Ljava/lang/String;Ljava/lang/ClassLoader;)Z
> > (FindClass)
>
> You have three problems:
>
> (1) You're using native code when it isn't officially supported;
> (2) The class you're looking for (android.disco.Disco) wasn't found;
> (3) Some native code (In JNI_OnLoad?) ignored the exception and made a
> FindClass call.
>
> If you can clean up #3, #2 will be easier to spot.  One possibility:
> make sure you're passing "android/disco/Disco" into FindClass, not
> "android.disco.Disco".  You're on your own for #1.
>
> See also:
>
>  http://android.git.kernel.org/?p=platform/dalvik.git;a=blob_plain;f=d...
>  http://java.sun.com/javase/6/docs/technotes/guides/jni/spec/functions...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to