Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android34中报错,dlopen failed: library "libqndroid_rtc.so" not found #99

Open
mekumiao opened this issue Jul 6, 2024 · 0 comments

Comments

@mekumiao
Copy link

mekumiao commented Jul 6, 2024

这个Demo项目和我自己的项目,都会在Android34中,开启通话时闪退,详细日志如下。

2024-07-07 05:05:33.888  4588-4588  WindowOnBackDispatcher  com.qiniu.droid.rtc.demo             W  sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@e489451
2024-07-07 05:05:34.543  4588-4626  EGL_emulation           com.qiniu.droid.rtc.demo             D  app_time_stats: avg=505.57ms min=483.88ms max=527.26ms count=2
2024-07-07 05:05:35.225  4588-4588  org.qnwebrtc.Logging    com.qiniu.droid.rtc.demo             I  EglBase14: SDK version: 34. isEGL14Supported: true
2024-07-07 05:05:35.256  4588-4588  org.qnwebrtc.Logging    com.qiniu.droid.rtc.demo             I  NativeLibrary: Loading native library: qndroid_rtc
2024-07-07 05:05:35.256  4588-4588  org.qnwebrtc.Logging    com.qiniu.droid.rtc.demo             I  NativeLibrary: Loading library: qndroid_rtc
2024-07-07 05:05:35.262  4588-4588  org.qnwebrtc.Logging    com.qiniu.droid.rtc.demo             E  NativeLibrary: Failed to load native library: qndroid_rtc
2024-07-07 05:05:35.262  4588-4588  org.qnwebrtc.Logging    com.qiniu.droid.rtc.demo             E  NativeLibrary: java.lang.UnsatisfiedLinkError: dlopen failed: library "libqndroid_rtc.so" not found
2024-07-07 05:05:35.267  4588-4588  org.qnwebrtc.Logging    com.qiniu.droid.rtc.demo             E  NativeLibrary: java.lang.UnsatisfiedLinkError: dlopen failed: library "libqndroid_rtc.so" not found
                                                                                                    	at java.lang.Runtime.loadLibrary0(Runtime.java:1082)
                                                                                                    	at java.lang.Runtime.loadLibrary0(Runtime.java:1003)
                                                                                                    	at java.lang.System.loadLibrary(System.java:1661)
                                                                                                    	at org.qnwebrtc.NativeLibrary$DefaultLoader.load(NativeLibrary.java:4)
                                                                                                    	at org.qnwebrtc.NativeLibrary.initialize(NativeLibrary.java:6)
                                                                                                    	at HISPj7KHQ7.HISPj7KHQ7.HISPj7KHQ7.Wja3o2vx62.Wja3o2vx62.eyd3OXAZgV.<init>(RTCManager.java:11)
                                                                                                    	at HISPj7KHQ7.HISPj7KHQ7.HISPj7KHQ7.Wja3o2vx62.Wja3o2vx62.HISPj7KHQ7.a(QNRTCCore.java:6)
                                                                                                    	at com.qiniu.droid.rtc.QNRTC.init(QNRTC.java:2)
                                                                                                    	at com.qiniu.droid.rtc.demo.activity.RoomActivity.initClient(RoomActivity.java:429)
                                                                                                    	at com.qiniu.droid.rtc.demo.activity.RoomActivity.onCreate(RoomActivity.java:289)
                                                                                                    	at android.app.Activity.performCreate(Activity.java:8595)
                                                                                                    	at android.app.Activity.performCreate(Activity.java:8573)
                                                                                                    	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1456)
                                                                                                    	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3764)
                                                                                                    	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3922)
                                                                                                    	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96)
                                                                                                    	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2443)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:106)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:205)
                                                                                                    	at android.os.Looper.loop(Looper.java:294)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:8177)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
2024-07-07 05:05:35.302  4588-4588  .droid.rtc.demo         com.qiniu.droid.rtc.demo             E  No implementation found for void org.qnwebrtc.Logging.nativeEnableLogToDebugOutput(int) (tried Java_org_qnwebrtc_Logging_nativeEnableLogToDebugOutput and Java_org_qnwebrtc_Logging_nativeEnableLogToDebugOutput__I) - is the library loaded, e.g. System.loadLibrary?
2024-07-07 05:05:35.302  4588-4588  AndroidRuntime          com.qiniu.droid.rtc.demo             D  Shutting down VM
2024-07-07 05:05:35.305  4588-4588  AndroidRuntime          com.qiniu.droid.rtc.demo             E  FATAL EXCEPTION: main
                                                                                                    Process: com.qiniu.droid.rtc.demo, PID: 4588
                                                                                                    java.lang.UnsatisfiedLinkError: No implementation found for void org.qnwebrtc.Logging.nativeEnableLogToDebugOutput(int) (tried Java_org_qnwebrtc_Logging_nativeEnableLogToDebugOutput and Java_org_qnwebrtc_Logging_nativeEnableLogToDebugOutput__I) - is the library loaded, e.g. System.loadLibrary?
                                                                                                    	at org.qnwebrtc.Logging.nativeEnableLogToDebugOutput(Native Method)
                                                                                                    	at org.qnwebrtc.Logging.enableLogToDebugOutput(Logging.java:2)
                                                                                                    	at org.qnwebrtc.PeerConnectionFactory.enableLogToDebugOutput(PeerConnectionFactory.java:1)
                                                                                                    	at HISPj7KHQ7.HISPj7KHQ7.HISPj7KHQ7.Wja3o2vx62.Wja3o2vx62.HISPj7KHQ7.a(QNRTCCore.java:10)
                                                                                                    	at com.qiniu.droid.rtc.QNRTC.init(QNRTC.java:2)
                                                                                                    	at com.qiniu.droid.rtc.demo.activity.RoomActivity.initClient(RoomActivity.java:429)
                                                                                                    	at com.qiniu.droid.rtc.demo.activity.RoomActivity.onCreate(RoomActivity.java:289)
                                                                                                    	at android.app.Activity.performCreate(Activity.java:8595)
                                                                                                    	at android.app.Activity.performCreate(Activity.java:8573)
                                                                                                    	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1456)
                                                                                                    	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3764)
                                                                                                    	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3922)
                                                                                                    	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96)
                                                                                                    	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2443)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:106)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:205)
                                                                                                    	at android.os.Looper.loop(Looper.java:294)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:8177)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
2024-07-07 05:05:35.356  4588-4588  Bugsnag                 com.qiniu.droid.rtc.demo             I  Saved unsent payload to disk (/data/user/0/com.qiniu.droid.rtc.demo/cache/bugsnag-errors/1720299935311_fa52b08b-0410-4a0e-845e-5d4b70b3889f.json) 
2024-07-07 05:05:35.358  4588-4642  Bugsnag                 com.qiniu.droid.rtc.demo             I  Sending 1 saved error(s) to Bugsnag
2024-07-07 05:05:35.379  4588-4588  Process                 com.qiniu.droid.rtc.demo             I  Sending signal. PID: 4588 SIG: 9
@mekumiao mekumiao changed the title dlopen failed: library "libqndroid_rtc.so" not found Android34中报错,dlopen failed: library "libqndroid_rtc.so" not found Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant