我已经使用 git clone 下载了 Linphone-android 源代码。当我将源代码导入eclipse时,没有发现错误。然后我尝试在实际设备上运行该应用程序,但是,该应用程序无法加载并且崩溃了。这是错误的logcat。我可以知道如何解决这个问题吗?是什么导致了这个问题?
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
提前感谢大家的帮助!