Be Smart

FANTAISIE

SmartPhone - iPhone, iPad, Android

My Links

Blog Stats

News

[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:

 

sudo dpkg-reconfigure dash (and answer no)

sudo rm /bin/sh

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

posted on 2010-12-24 13:04 FANTAISIE 阅读(...) 评论(...) 编辑 收藏