先確保安裝 yum,git , gcc , make
sudo apt-get install git
sudo apt-get install gcc
sudo apt-get install yum
sudo apt-get install make
1、 make not found
依次執行:
1、sudo apt-get update
2、sudo apt-get install make
2、無法獲得鎖 /var/lib/dpkg/lock-frontend - open
執行 sudo rm /var/lib/dpkg/lock-frontend
3 、/bin/arm-linux-androideabi-gcc is unable to create an executable file
先確定ndk目錄裏有沒有這個文件,沒有就換個ndk,
如果有的話可能就是沒有gcc,需要安裝 sudo apt-get install gcc
4、configure: error: no acceptable C compiler found in $PATH
需要安裝gcc sudo apt-get install gcc