Be Smart

FANTAISIE

SmartPhone - iPhone, iPad, Android

导航

[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  阅读(666)  评论(0编辑  收藏  举报