android 加载so库文件报错找不到 Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library

-------- beginning of crash
2020-01-01 00:20:57.483 4254-4318/com.quectel.multicamera E/AndroidRuntime: FATAL EXCEPTION: RxCachedThreadScheduler-2
    Process: com.quectel.multicamera, PID: 4254
    io.reactivex.exceptions.UndeliverableException: java.lang.UnsatisfiedLinkError: dlopen failed: library "libqcarprotobbtrp.so" not found
        at io.reactivex.plugins.RxJavaPlugins.onError(RxJavaPlugins.java:367)
        at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:69)
        at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)
     Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library "libqcarprotobbtrp.so" not found
        at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
        at java.lang.System.loadLibrary(System.java:1669)
        at com.quectel.multicamera.utils.DVRRecorderUtil.LazyLoadLib(DVRRecorderUtil.java:420)
        at com.quectel.multicamera.record.MainActivity$4.apply(MainActivity.java:230)
        at com.quectel.multicamera.record.MainActivity$4.apply(MainActivity.java:156)
        at io.reactivex.internal.operators.observable.ObservableMap$MapObserver.onNext(ObservableMap.java:59)
        at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:201)
        at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:255)
        at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
        at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57) 
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301) 
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 
        at java.lang.Thread.run(Thread.java:764) 
2020-01-01 00:20:57.512 4254-4319/com.quectel.multicamera I/Adreno: QUALCOMM build                   : 4b6a7e9, I6dbfbbdcad
    Build Date                       : 08/07/19
    OpenGL ES Shader Compiler Version: EV031.25.03.07
    Local Branch                     : 
    Remote Branch                    : 
    Remote Branch                    : 
    Reconstruct Branch               : 
2020-01-01 00:20:57.512 4254-4319/com.quectel.multicamera I/Adreno: Build Config                     : S L 6.0.7 AArch64
2020-01-01 00:20:57.521 4254-4318/com.quectel.multicamera I/Process: Sending signal. PID: 4254 SIG: 9

so库文件明明存放在jinLibs下,arm64-v8a x86 armeabi-v7a都有相应的so库文件,却还是报错

 

解决方法

解决办法在jinLibs下 创建一个armeabi文件,并存一份提示找不到的那个so库文件,问题解决

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值