Error:Syntax error: redirection unexpected


在安装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,则无错误。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM