Hi All I am new to Android JNI. I have Ubuntu 10.10, android sdk, android-ndk-r6. All my path vaiables are set like platform-tools in sdk, android ndk path, java path etc. When I try to compile Hello-Jni sample in ndk samples folder i getting error
/home/manager/Android/android-ndk-r6/samples/hello-jni/jni/hello-jni.c:17:20: error: string.h: No such file or directory /home/manager/Android/android-ndk-r6/samples/hello-jni/jni/hello-jni.c:18:17: error: jni.h: No such file or directory /home/manager/Android/android-ndk-r6/samples/hello-jni/jni/hello-jni.c:27: error: expected '=', ',', ';', 'asm'开发者_开发百科 or 'attribute' before 'Java_com_example_hellojni_HelloJni_stringFromJNI'
What might be the issue?
I searched google which provided following link
http://comments.gmane.org/gmane.comp.handhelds.android.ndk/13082
But i didnot get what symbolic links he is talking.
Can any one guide me?
精彩评论