【发布时间】:2015-07-06 12:56:41
【问题描述】:
我正在为 andriod 编译 linphone。我通过git下载了文件
$ sudo apt-get install git
$ sudo git clone git://git.linphone.org/linphone-android.git –recursive
在此之前我在 ~/.bashrc 文件中添加了路径
export PATH=${PATH}:/home/gnome/Desktop/android/android-sdk-linux/tools
export PATH=${PATH}:/home/gnome/Desktop/android/android-sdk-linux/platform-tools
export PATH=${PATH}:/home/gnome/Desktop/android/android-ndk-r10d
export ANDROID_EMULATOR_FORCE_32BIT=true
我还通过转到(窗口 -> 首选项)在 eclipse 中添加了路径。
当我在所有 linphone 文件所在的目录中运行 make 命令时,它一直给我这个错误:
Could not find ndk-build. Please install android NDK.
Could not find android. Please install android SDK.
Makefile:73: *** commands commence before first target. Stop.
我遇到这个问题已经 4 天了 :(.
【问题讨论】:
标签: android eclipse android-ndk linphone