On May 28, 9:41 pm, Abhi <abhijith....@gmail.com> wrote:
> public static void Log_d(String log){

>             jmethodID methodId = (*javaEnv)->GetStaticMethodID
> (javaEnv, javaClass, "Log_d", "([Ljava/lang/String;)V");

> But in runtime, I get a "Ljava/lang/NoSuchMethodError;: Log_d"
> Exception.

Your GetStaticMethodID parameter argument indicates it takes an array
of String, when it actually just takes a String.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to