Skip to content

本地运行点击播放报错,程序自动关闭 #57

@jivaklong

Description

@jivaklong

点击播放时报下面错误

2025-04-12 22:35:50.104 4353-4391 AndroidRuntime ai.guiji.duix.test E FATAL EXCEPTION: DUIXRender-Thread
Process: ai.guiji.duix.test, PID: 4353
java.lang.UnsatisfiedLinkError: dlopen failed: library "libscrfdncnn.so" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:1090)
at java.lang.Runtime.loadLibrary0(Runtime.java:1012)
at java.lang.System.loadLibrary(System.java:1765)
at com.btows.ncnntest.SCRFDNcnn.(SCRFDNcnn.java:88)
at ai.guiji.duix.sdk.client.thread.RenderThread.run(RenderThread.java:154)
2025-04-12 22:35:50.120 4353-4391 Process ai.guiji.duix.test I Sending signal. PID: 4353 SIG: 9
---------------------------- PROCESS ENDED (4353) for package ai.guiji.duix.test ----------------------------
2025-04-12 22:35:50.133 693-803 InputDispatcher system_server E channel '68705e8 ai.guiji.duix.test/ai.guiji.duix.test.ui.activity.CallActivity' ~ Channel is unrecoverably broken and will be disposed!
2025-04-12 22:35:50.160 488-488 Transactio...ackInvoker surfaceflinger E [ai.guiji.duix.test/ai.guiji.duix.test.ui.activity.MainActivity#316] writeReleaseFence failed. error 104 (Connection reset by peer)

build.gradle 修改成下面参数 ,编译后也是同样的错误
externalNativeBuild {
cmake {
path "src/main/cpp/CMakeLists.txt"
version "3.22.1"
}
}

compileOptions {
    sourceCompatibility JavaVersion.VERSION_11
    targetCompatibility JavaVersion.VERSION_11
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions