Pan-Z

安装完成交叉编译链后进行编译,出现错误“make: arm-linux-androideabi-gcc: Command not found”。。

原因为找不到编译工具,需要在系统环境变量中进行配置。

在/home/usrname/.bashrc文件中最后一行加上

export PATH=$PATH:/home/android_ndk/android_standalone_toolchain/bin

然后使用source命令,使之生效source  /home/usrname/.bashrc 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-02-08
  • 2022-02-08
  • 2021-11-27
  • 2021-07-29
  • 2021-11-13
  • 2021-09-29
  • 2021-11-14
猜你喜欢
  • 2021-10-17
  • 2022-02-12
  • 2022-02-10
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
  • 2021-10-10
相关资源
相似解决方案