Linphone Android如何导入图书馆项目? [英] Linphone Android how to import the library project?
问题描述
我试图在设备上制作和运行构建,但是出现少量问题
我已经在我的Mac上设置了Android SDK和NDK。
现在当我通过终端使用命令复制repo
$ git clone git://git.linphone.org /linphone-android.git --recursive
而不是Makefile运行这段代码:
$ make
然后它显示Build Successfull。
现在我需要将此项目导入到Eclipse中,当我将这个导入的项目(名为linphone-adroid的文件夹))导入到Eclipse中时,会显示出我很困惑的项目,我应该使用哪个项目,如果我选择所有这些,那么它给了我很多的错误在其他人(如下图所示)
liblinphone-android - >这个设备运行正常但是我打电话给它更改它的视图的数字,并显示持续时间0:00,不调用数字,然后我必须按挂断按钮关闭呼叫。 (无法拨打电话)
请建议我如何将此项目导入到我的eclipse中,以及我需要在终端上运行以执行其他脚本。
到目前为止,我所做的是对还是错?
在构建库后,您必须导入它eclipse
文件 - >新 - >其他... - > Android - >现有代码中的Android项目 - > Browse_your_project
现在打开您的应用程序(有活动的项目)并分配您先前加载的linphone库....
右键单击您的项目 - >从左侧选择Android选项卡 - >从底部库部分,单击添加... - >您将看到您的eclipse工作区中列出的库 - >选择正确的一个 - >单击确定 - >现在刷新并清理项目 - >构建并尝试运行
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
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)
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?
after building the library you have to import it in eclipse
File -> New -> Other... -> Android -> Android Project from Existing Code -> Browse_your_project
Now open your application (Project which have activity) and assign linphone library which you have earlier loaded....
Right click on your project -> select Android tab from left hand side -> from the bottom library section, click on "Add..." -> you will see the listed library which you have in your eclipse workspace -> select correct one -> click "OK" -> now refresh and clean the project -> build and try to run
这篇关于Linphone Android如何导入图书馆项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!