Set Build path in Eclipse for ndk program

前端 未结 3 1680
野性不改
野性不改 2020-11-30 07:34

This error was shown when I build a android application program in Eclipse:

14:43:33 **** Incremental Build of configuration Default for project com.***.NDKD         


        
相关标签:
3条回答
  • 2020-11-30 07:58

    //goto Preference Android NDK and choose your ndk location

    enter image description here

    or

    in your hidden .bashrc file add this below line

    export NDK_PATH=/home/padmakumar/android-ndk-r7b
    
    0 讨论(0)
  • 2020-11-30 08:13

    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.

    0 讨论(0)
  • 2020-11-30 08:15

    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.

    0 讨论(0)
提交回复
热议问题