Linphone会的Andr​​oid如何导入库项目? [英] Linphone Android how to import the library project?

查看:233
本文介绍了Linphone会的Andr​​oid如何导入库项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的SIP应用和使用Linphone会图书馆。 我试图让与设备上运行的版本,但得到的几个问题。

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

我已经安装了Android SDK和NDK建立在我的Mac。 现在,当我使用命令通过终端复制回购

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

和比Makefile文件运行此code:

And than to Makefile ran this code:

$make

然后将它展示的建设全成。

and Then it show's Build Successfull.

现在我需要把这个项目导入到Eclipse中,当我做到这一点的进口项目(文件夹命名为Linphone会-的Adroid)到我的Eclipse它显示了我很多的是哪一个,我应该使用的项目我很困惑,如果我选择所有他们那么它给了我很多的其他的错误(显示在下面的图片)

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-机器人 - >跑这对设备运行正常,但是当我拨打的号码就改变了它的观点,显示持续时间0:00并且不调用号,那么我必须preSS悬停按钮关闭呼叫。 (无法拨打电话的)

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)

请给我建议,我应该如何导入这个项目到我的Eclipse和什么脚本我需要在终端上运行,使其运行。 到目前为止,我已经做是对还是错?

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?

推荐答案

建库后,你必须导入它在Eclipse
文件 - >新建 - >其他... - >机器人 - > Android项目从现有的code - > Browse_your_project

after building the library you have to import it in eclipse
File -> New -> Other... -> Android -> Android Project from Existing Code -> Browse_your_project

现在打开你的应用程序(项目具有活性),并指定你刚才Linphone会加载库....
右键点击你的项目 - >从左侧选择Android的选项卡 - >从底部库部分,点击添加... - >您将看到列出的库,你有你的Eclipse工作空间 - >选择正确的 - >点击确定 - >现在刷新和清理项目 - >建立并尝试运行

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会的Andr​​oid如何导入库项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆