开发者

Android NDK setup in Ubuntu 10.10

开发者 https://www.devze.com 2023-04-10 12:49 出处:网络
Hi AllI 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-J

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消