My mistake, I was returning 0. How do I know which version of JNI I
need? I am not aware of any version-specific features I'm using, so is
it safer to go with an older version?
On Jul 15, 4:50 pm, Onur Cinar <
onur.ci...@gmail.com> wrote:
> Hi,
>
> Here are the supported versions from the jni.h file:
>
> #define JNI_VERSION_1_1 0x00010001
> #define JNI_VERSION_1_2 0x00010002
> #define JNI_VERSION_1_4 0x00010004
> #define JNI_VERSION_1_6 0x00010006
>
> Which version are you returning from JNI_OnLoad()? Also are you using
> anything specific to a JNI version?
>
> Regards,
>
> -onur
>
> On Thu, Jul 15, 2010 at 1:26 PM, theactiveactor <
theactiveac...@gmail.com>wrote:
>
>
>
>
>
> > I'm running Android Eclair (don't know if platform version matters)
> > and currently my JNI_OnLoad() is causing the dynamic link error:
> > "JNI_OnLoad returned bad version". What should be the right version
> > and where can I find this info for other versions of the Android
> > platform?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "android-ndk" group.
> > To post to this group, send email to
andro...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
android-ndk...@googlegroups.com<android-ndk%2Bunsubscribe@googlegr
oups.com>
> > .