Android SIP application using Linphone

血红的双手。 提交于 2019-12-05 05:22:08

After you have installed the NDK and SDK you need to clone it and make sure you have set the PATH correctly. So go to the root folder where you have installed linphone

i.e

$ cd /Users/myname/Desktop/Android/linphone-android

To check the PATH of your NDK and SDK type the following into the terminal"

$ echo $PATH

If you see the path with the SDK and NDK location then it is configured correctly and you can proceed to running the make command. If not then set up the PATH using:

$ export PATH=/Users/myname/Documents/adt-bundle-mac-x86_64-20130729/sdk/platform-tools:/Users/myname/Documents/adt-bundle-mac-x86_64-20130729/sdk/tools:/Users/myname/Documents/android-ndk-r9:$PATH 

The above is export PATH=(Path of your SDK platform tools folder):(Path of your SDK tools folder):(Path of your NDK folder):$PATH. You need to make sure you add the correct directories where your NDK and SDK are.

Once this is done then run the make command from the terminal:

$ make

This should work and then you can import your project into eclipse and run it. Let me know how you get on. I spent days trying to get this working and this finally worked.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!