java.lang.UnsatisfiedLinkError: dlopen failed: library "libc++_shared.so" not found

博客提到降低 NDK 版本,具体可将其降到 13,这在移动开发等涉及 NDK 的场景中可能是一种解决问题或适配的手段。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

降低 NDK 版本, 比如降到13

发生crash的原因 03-27 08:59:35.741159 16348 16396 E AndroidRuntime: Process: com.ss.android.ugc.aweme.lite, PID: 16348 03-27 08:59:35.741159 16348 16396 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: library "libc++_shared.so" not found: needed by /data/data/com.ss.android.ugc.aweme.lite/files/plugins/m.l.plugin.veffect_engine/version-28909044/lib/libbytemonitor.so in namespace clns-13 03-27 08:59:35.741159 16348 16396 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:1081) 03-27 08:59:35.741159 16348 16396 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:1003) 03-27 08:59:35.741159 16348 16396 E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1765) 03-27 08:59:35.741159 16348 16396 E AndroidRuntime: at m.l.plugin.veffect_engine.HookPluginCall.loadLibraryX(Unknown Source:55) 03-27 08:59:35.741159 16348 16396 E AndroidRuntime: at com.benchmark.bytemonitor.nativePort.ByteMonitorPort.<clinit>(SourceFile:10) 03-27 08:59:35.741159 16348 16396 E AndroidRuntime: at com.benchmark.bytemonitor.ByteMonitor.forceInit(SourceFile:32) 03-27 08:59:35.741159 16348 16396 E AndroidRuntime: at com.benchmark.BXMonitorCenter.init(SourceFile:10) 03-27 08:59:35.741159 16348 16396 E AndroidRuntime: at com.benchmark.runtime.ByteBenchContext.initAllModules(SourceFile:253) 03-27 08:59:35.741159 16348 16396 E AndroidRuntime: at com.benchmark.runtime.ByteBenchContext.initByConfiguration(SourceFile:218) 03-27 08:59:35.741159 16348 16396 E AndroidRuntime: at com.benchmark.runtime.ByteBenchContext.preInit(SourceFile:182) 03-27 08:59:35.741159 16348 16396 E AndroidRuntime: at com.benchmark.strategy.ByteBenchFeatureCenter.setEventSource(SourceFile:64) 03-27 08:59:35.741159 16348 16396 E AndroidRuntime: at com.ss.android.ugc.aweme.dmt_integration.AVInitializerImpl$1.LIZ(SourceFile:221) 03-27 08:59:35.741159 16348 16396 E AndroidRuntime: at com.ss.android.ugc.aweme.shortvideo.monitor.c.LIZ(SourceFile:55) 03-27 08:59:35.741159 16348 16
04-01
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Caldremch

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值