Set Build path in Eclipse for ndk program

拜拜、爱过 提交于 2019-11-27 04:29:21

//goto Preference Android NDK and choose your ndk location

or

in your hidden .bashrc file add this below line

export NDK_PATH=/home/padmakumar/android-ndk-r7b

If your NDK location is already set, the builder in the toolchain editor may be wrong. Go to project properties, C/C++ Build | Tool Chain Editor and select Android Builder as current builder.

Lucifer

The path for ndk-build is not set in your case. Open your .bashsrc file ( from root folder, it will be in hidden format, so Edit Menu and selection Show Hidden Files ) with Editor, go to last line and add following code,

NDK_HOME=/opt/android-ndk-r8
export NDK_HOME

Now restart your Computer and try again. For more information see my this answer.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!