【问题标题】:java.lang.UnsatisfiedLinkError: debugLeveljava.lang.UnsatisfiedLinkError: debugLevel
【发布时间】:2013-04-20 05:40:47
【问题描述】:

好吧,我一直在左右浏览帖子试图找出这个错误。我已经设法修复了一些错误,但这只是让我发疯。它几乎没有任何信息。或者至少对我来说没有任何意义。

  D/dalvikvm(431): Trying to load lib /data/data/com.hyperlinkup.manglerbt/lib/libventrilo_interface.so 0x405156c8
D/dalvikvm(431): Added shared lib /data/data/com.hyperlinkup.manglerbt/lib/libventrilo_interface.so 0x405156c8
D/dalvikvm(431): No JNI_OnLoad found in /data/data/com.hyperlinkup.manglerbt/lib/libventrilo_interface.so 0x405156c8, skipping init
D/dalvikvm(431): GC_EXTERNAL_ALLOC freed 61K, 53% free 2565K/5379K, external 1027K/1038K, paused 89ms
W/dalvikvm(431): No implementation found for native Lcom/hyperlinkup/manglerbt/VentriloInterface;.debuglevel (I)I
D/AndroidRuntime(431): Shutting down VM
W/dalvikvm(431): threadid=1: thread exiting with uncaught exception (group=0x40015560)
E/AndroidRuntime(431): FATAL EXCEPTION: main
E/AndroidRuntime(431): java.lang.UnsatisfiedLinkError: debuglevel
E/AndroidRuntime(431):  at com.hyperlinkup.manglerbt.VentriloInterface.debuglevel(Native Method)
E/AndroidRuntime(431):  at com.hyperlinkup.manglerbt.ServerList.onCreate(ServerList.java:96)
E/AndroidRuntime(431):  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime(431):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
E/AndroidRuntime(431):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
E/AndroidRuntime(431):  at android.app.ActivityThread.access$1500(ActivityThread.java:117)
E/AndroidRuntime(431):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
E/AndroidRuntime(431):  at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(431):  at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(431):  at android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime(431):  at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(431):  at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime(431):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime(431):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime(431):  at dalvik.system.NativeStart.main(Native Method)
I/Process(431): Sending signal. PID: 431 SIG: 9

我正在尝试重新设计 Mangler 应用程序以使用蓝牙录音(通过 startBluetoothSco),但我想确保在合并蓝牙功能之前原件可以正常工作。如果我能在这件事上获得任何帮助,我将不胜感激.

编辑:想也许我的问题是 jni_wrappers.c.. 前 3 个#include 没有解决.. 原始版本是在 linux 系统上出现的,所以它正在寻找 jni.h、stdint.h 和 ventrilo3.h

【问题讨论】:

  • 所以我的 jni_wrappers.c 文件包括 和我拥有的第三个文件..所有这三个文件都未解决..我正在Windows 系统...我现在几乎是 SOL,直到我可以在这里获得更好的 linux 系统至少 VM'd?

标签: android unsatisfiedlinkerror


【解决方案1】:

答案在 Logcat Stacktrace 本身中

未找到本机 Lcom/hyperlinkup/manglerbt/VentriloInterface;.debuglevel (I)ID/AndroidRuntime(431) 的实现:关闭 VM

VentriloInterface 中有一个名为 debuglevel 的 Native 方法。你还没有实现那个方法。因此,VM 抛出 java.lang.UnsatisfiedLinkError

【讨论】:

  • 那我一定是错过了什么..VentriloInterface.debuglevel(VentriloDebugLevels.V3_DEBUG_INFO);在 Serverlist.java 中.. 我将其注释掉,得到另一个错误.. 注释掉一个,我让应用程序启动,但它仍然中断.. 也许我现在太累了,无法真正弄清楚,但似乎还有更多。
  • 我认为这是我们可以使用提供的详细信息为您提供的解决方案。
猜你喜欢
  • 2023-03-15
  • 2011-03-18
  • 2015-01-10
  • 2015-03-29
  • 2013-03-30
相关资源
最近更新 更多