无法运行在实际设备Linphone会-android源码code [英] Unable to run Linphone-android source code on actual device

查看:308
本文介绍了无法运行在实际设备Linphone会-android源码code的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载使用Git克隆Linphone会,Android源$ C ​​$ C。当我输入源$ C ​​$ CS到Eclipse中,没有发现错误。然后我试图运行的实际设备上的应用程序,但是,应用程序无法加载并坠毁。这里是错误的logcat的。我想知道如何解决这个问题?是什么导致这个问题呢?

I have downloaded the Linphone-android source code using git clone. When I imported the source codes into eclipse, there were no errors found. I then tried to run the app on the actual device, however, the app was unable to load and it crashed. Here is the logcat of the errors. May I know how to resolve this issue? And what is causing this issue?

04-09 11:19:37.332: E/AndroidRuntime(9930): FATAL EXCEPTION: main
04-09 11:19:37.332: E/AndroidRuntime(9930): java.lang.ExceptionInInitializerError
04-09 11:19:37.332: E/AndroidRuntime(9930):     at java.lang.Class.classForName(Native Method)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at java.lang.Class.forName(Class.java:234)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at java.lang.Class.forName(Class.java:181)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at org.linphone.core.LinphoneCoreFactory.instance(LinphoneCoreFactory.java:43)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at org.linphone.LinphoneManager.startLibLinphone(LinphoneManager.java:460)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at org.linphone.LinphoneManager.createAndStart(LinphoneManager.java:271)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at org.linphone.LinphoneService.onCreate(LinphoneService.java:142)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at android.app.ActivityThread.handleCreateService(ActivityThread.java:2208)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at android.app.ActivityThread.access$2500(ActivityThread.java:132)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1102)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at android.os.Handler.dispatchMessage(Handler.java:99)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at android.os.Looper.loop(Looper.java:143)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at android.app.ActivityThread.main(ActivityThread.java:4277)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at java.lang.reflect.Method.invokeNative(Native Method)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at java.lang.reflect.Method.invoke(Method.java:507)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at dalvik.system.NativeStart.main(Native Method)
04-09 11:19:37.332: E/AndroidRuntime(9930): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load linphone: findLibrary returned null
04-09 11:19:37.332: E/AndroidRuntime(9930):     at java.lang.Runtime.loadLibrary(Runtime.java:429)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at java.lang.System.loadLibrary(System.java:554)
04-09 11:19:37.332: E/AndroidRuntime(9930):     at org.linphone.core.LinphoneCoreFactoryImpl.<clinit>(LinphoneCoreFactoryImpl.java:59)
04-09 11:19:37.332: E/AndroidRuntime(9930):     ... 18 more

感谢所有在您的帮助!

Thanks all in advance for your help!

推荐答案

要解决上述错误。

  • git的克隆源$ C ​​$了C Linphone会-的Andr​​oid使用Ubuntu 11.10
  • 在Ubuntu下安装的autoconf,automake的,aclocal会,libtoolize,pkgconfig(中提到的README文件)使用的终端
  • ./prepare_sources.sh项目的根文件夹
  • 在采用Android NDK构建项目

这篇关于无法运行在实际设备Linphone会-android源码code的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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