Linphone-android Compilation

Source: Internet
Author: User
Tags linphone

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.