Android: You are not using bash - builds will fail

来源:互联网 发布:知乎的童瑶事件 编辑:程序博客网 时间:2024/05/29 04:33

[Android]

Make/Build Error: You are not using bash - builds will fail

If you meet this error when trying the build your android code:

 

make: Entering directory `/bsp/Project_Name'

build/core/main.mk:7: You are not using bash - builds will fail

build/core/main.mk:8: *** Stop.  Stop.

make: Leaving directory `/bsp/Project_Name'

 

Previous version of Android seems not to check if the "sh" is bash.

Just change to point to /bin/bash instead of /bin/sh by:

 


step:

1 sudo dpkg-reconfigure dash (and answer no)

2 sudo rm /bin/sh

3 sudo ln -s /bin/bash /bin/sh

原创粉丝点击