安装完成交叉编译链后进行编译,出现错误“make: arm-linux-androideabi-gcc: Command not found”。。linux
缘由为找不到编译工具,须要在系统环境变量中进行配置。android
在/home/usrname/.bashrc文件中最后一行加上bash
export PATH=$PATH:/home/android_ndk/android_standalone_toolchain/bin
而后使用source命令,使之生效source /home/usrname/.bashrc ide