Skip to content Skip to sidebar Skip to footer

Linphone Building Process For Android

I am building Linphone application for android. I am working in Ubuntu 11.04 OS. I Followed the steps given in README file: Download the Android ndk (>=r5c) from google. Instal

Solution 1:

  1. Open terminal
  2. Download source code through command: git clone git://git.linphone.org/linphone-android.git --recursive
  3. Go to root directory of the downloaded project through command: cd /home/your_downloaded_project_path/
  4. Fire the command: ./prepare_sources.sh /home/android-ndk-r7b/
  5. Go to root directory of NDK folder through command: cd /home/android-ndk-r7b/
  6. Fire the command: export NDK_PROJECT_PATH=/home/your_downloaded_project_path/
  7. ./ndk_build clean
  8. ./ndk_build -i

Note: Here /home/android-ndk-r7b/ will be your NDK path where you have stored downloaded NDK

Try dis..if still not work mention error what you would get.

Solution 2:

You have to specify the complete path the ndk when executing prepare_sources

$./prepare_sources.sh /complete/path/to/android-ndk

If you only specify the relative path to the ndk, it'll also throw the same error.

Then, you can call 'ndk-build', 'ant debug',... whatever you want to.

Solution 3:

Solution 4:

Check the output from prepare_sources.sh carefully for errors. Errors during this phase can lead to the error that you describe.

Solution 5:

If you still need an answer...

In your ubuntu 11.04, open your terminal, make sure you are the root user

* make sure you have done this: "git clone git://git.linphone.org/linphone-android.git --recursive"//*the --recursive part is very important
* then dothis: apt-get install autoconf automake libtool pkg-config
* go to your project root: cd/home/user/project //wherver your project is
* in your project root: export PATH=/home/user/android-ndk:$PATH //wherever your android-ndk is stored in
* then run ./prepare_sources.sh //in your project root still
* after that dothis: /home/user/android-ndk/ndk-build // in your project root too

Post a Comment for "Linphone Building Process For Android"