[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

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. android菜单
  2. Android通过ContentProvider获取通话记录
  3. android mina 客户端无法接收信息的原因
  4. android之纵横屏幕切换时保存数据
  5. mac react native android
  6. Android:Fragment+ViewPager+FragmentPage
  7. Android学习1:Android开发环境搭建
  8. network: Android(安卓)网络判断(wifi、3G
  9. Android(安卓)打开关闭闪光灯(手电筒)
  10. Android(安卓)使用系统摄像头拍相片与拍