解决:/system/bin/sh: ./hello: No such file or directory
android中:/system/bin/sh: : No such file or directory错误
1. 问题:
msm8909w:/data # ./hello
/system/bin/sh: ./hello: No such file or directory
2. 解决方法 1:
使用静态链接库:在最后加上-static
arm-linux-gnueabihf-gcc hello.c -o hello -static