Recent research on Linphone-android, compiling in Ubuntu Environment
1. Download source code
Http://www.linphone.org/eng/download/git.html
We recommend that you use the following command:
Git clone git: // git.linphone.org/linphone-android.git -- Recursive
2. Install ndk
3. install several packages sudo apt-Get install libtool
Sudo apt-Get install Autoconf
4. Make sure the preceding information is correct. Run./prepare_sources.sh in the Linphone-android directory.
5. Execute ndk-build
If an error occurs
Invalid attribute name: Android: debuggable
Build x264 plugin for mediastreamer2
Compile thumb: Linphone <= linphonecore. c
JNI/.. // submodules/Linphone/build/Android/http://www.cnblogs.com/coreapi/linphonecore.c:49:40: error: Expected ',' or '; 'before' devel'
JNI/.. // submodules/Linphone/build/Android/http://www.cnblogs.com/coreapi/linphonecore.c:1519:29: error: Expected ',' or '; 'before' devel'
Make: *** [OBJ/local/armeabi-v7a/objs/Linphone/linphonecore. O] Error 1
Run ndk-build linphone_version = debug.