Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
621 views
in Technique[技术] by (71.8m points)

eclipse - Linphone Android how to import the library project?

I am working on SIP application and using Linphone Library. I am trying to make and run the build on the device but getting few issues

I have setup the Android SDK and NDK set up on my Mac. Now when i copy the repo via Terminal using command

$ git clone git://git.linphone.org/linphone-android.git --recursive

And than to Makefile ran this code:

$make

enter image description here and Then it show's Build Successfull.

Now i need to import this project into Eclipse and when i do this imported project (folder named "linphone-adroid") into my Eclipse it shows me alot's of projects i am confused which one should i use and if i choose all of them then it gives me lot's of errors in other's (Shown in image below)

liblinphone-android --> Ran this on Device runs fine but when i call the numbers it changes it's view and shows duration 0:00 and does not calls the numbers then i have to press hang off button to dismiss the call. (Not able to make call's)

enter image description here

Please suggest me how should i import this project into my eclipse and what else scripts i need to run on the terminal to make it run. So far what i have did is right or wrong?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Yes , it worked finally. After build using "make" command.I installed in my device using "make install". Also generated sdk using "make linphone-sdk" And then simply imported in eclispe just like normal android project. Without any error it worked. - thank god.

In windows8 cygwin created many issues, so i did build the code using "make" command in MAC. And then simply imported in windows eclipse. (some admin permission issue in MAC) Note: android-ndk-R9c was failed my build. So then i tried with android-ndk-R9 without additional toolchain it worked great. Android-ndk old versions available at (http://page2rss.com/0dc3a880ab1762303011d69d18408917).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...