1. 下载源代码。
git clone git://git.linphone.org/linphone-android.git --recursive
2.下载相关的工具。
install yasm, nasm, curl, ant, rsync and the autotools: autoconf, automake, aclocal, libtoolize, pkgconfig
命令:
apt-get install nasm autoconf libtool
3.配置环境变量PATH
添加SDK 中platform-tools, tools 的路径到PATH, 需要用到最新的sdk。
添加ndk的路径到PATH。
4.编译
在目录linphone-android:
make