在安装Android NKD后执行make-standalone-toolchain.sh时出现错误“make-standalone-toolchain.sh: 701: ./make-standalone-toolchain.sh: Syntax error: redirection unexpected”,同时执行时出现警告“WARNING: The shell running this script isn't bash. Although we try to avoid bashism in scripts, things can happen.”

打开脚本701行

for ABI in $(tr ',' ' ' <<< $ABIS); do

 

经查,应为"<<<"的问题。在执行时解释器指定为bash,则无错误。

相关文章:

  • 2022-12-23
  • 2022-01-22
  • 2022-02-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-24
  • 2021-05-19
  • 2022-12-23
  • 2021-04-11
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案