so找不到-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

so找不到

游客aqpqenklvwob2 2019-02-28 10:32:13 3102

android application里面的代码:
@Override

public void onCreate() {
    super.onCreate();
    QupaiHttpFinal.getInstance().initOkHttpFinal();
    AlivcSdkCore.register(getApplicationContext());
    AlivcSdkCore.setLogLevel(AlivcSdkCore.AlivcLogLevel.AlivcLogDebug);
}

错误日志:
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.media.edit-1/base.apk", zip file "/data/app/com.media.edit-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.media.edit-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.media.edit-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.media.edit-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.media.edit-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.media.edit-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.media.edit-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.media.edit-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.media.edit-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.media.edit-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.media.edit-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.media.edit-1/lib/arm, /data/app/com.media.edit-1/base.apk!/lib/armeabi-v7a, /data/app/com.media.edit-1/split_lib_dependencies_apk.apk!/lib/armeabi-v7a, /data/app/com.media.edit-1/split_lib_slice_0_apk.apk!/lib/armeabi-v7a, /data/app/com.media.edit-1/split_lib_slice_1_apk.apk!/lib/armeabi-v7a, /data/app/com.media.edit-1/split_lib_slice_2_apk.apk!/lib/armeabi-v7a, /data/app/com.media.edit-1/split_lib_slice_3_apk.apk!/lib/armeabi-v7a, /data/app/com.media.edit-1/split_lib_slice_4_apk.apk!/lib/armeabi-v7a, /data/app/com.media.edit-1/split_lib_slice_5_apk.apk!/lib/armeabi-v7a, /data/app/com.media.edit-1/split_lib_slice_6_apk.apk!/lib/armeabi-v7a, /data/app/com.media.edit-1/split_lib_slice_7_apk.apk!/lib/armeabi-v7a, /data/app/com.media.edit-1/split_lib_slice_8_apk.apk!/lib/armeabi-v7a, /data/app/com.media.edit-1/split_lib_slice_9_apk.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]] couldn't find "libalivc_conan.so"

    at java.lang.Runtime.loadLibrary0(Runtime.java:972)
    at java.lang.System.loadLibrary(System.java:1567)
    at com.aliyun.sys.AbstractNativeLoader.loadLocalLibrary(SourceFile:75)
    at com.aliyun.sys.AbstractNativeLoader.<clinit>(SourceFile:34)
    at com.aliyun.sys.AlivcSdkCore.register(SourceFile:52)
    at com.media.edit.App.onCreate(App.java:45)
    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1032)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5876)
    at android.app.ActivityThread.-wrap3(ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1699)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:154)
    at android.app.ActivityThread.main(ActivityThread.java:6682)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)

2019-02-28 10:28:02.480 5390-5390/com.media.edit E/AliYunLog: Load .so failed!

java.lang.UnsatisfiedLinkError: dlopen failed: library "libcurl.so" not found
    at java.lang.Runtime.loadLibrary0(Runtime.java:977)
    at java.lang.System.loadLibrary(System.java:1567)
    at com.aliyun.sys.AbstractNativeLoader.loadLocalLibrary(SourceFile:75)
    at com.aliyun.sys.AbstractNativeLoader.<clinit>(SourceFile:44)
    at com.aliyun.sys.AlivcSdkCore.register(SourceFile:52)
    at com.media.edit.App.onCreate(App.java:45)
    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1032)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5876)
    at android.app.ActivityThread.-wrap3(ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1699)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:154)
    at android.app.ActivityThread.main(ActivityThread.java:6682)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)

2019-02-28 10:28:02.487 5390-5390/com.media.edit E/art: No implementation found for void com.aliyun.sys.AlivcSdkCore.nativeSetLogLevel(int) (tried Java_com_aliyun_sys_AlivcSdkCore_nativeSetLogLevel and Java_com_aliyun_sys_AlivcSdkCore_nativeSetLogLevel__I)
2019-02-28 10:28:02.488 5390-5390/com.media.edit E/AndroidRuntime: FATAL EXCEPTION: main

Process: com.media.edit, PID: 5390
java.lang.UnsatisfiedLinkError: No implementation found for void com.aliyun.sys.AlivcSdkCore.nativeSetLogLevel(int) (tried Java_com_aliyun_sys_AlivcSdkCore_nativeSetLogLevel and Java_com_aliyun_sys_AlivcSdkCore_nativeSetLogLevel__I)
    at com.aliyun.sys.AlivcSdkCore.nativeSetLogLevel(Native Method)
    at com.aliyun.sys.AlivcSdkCore.setLogLevel(SourceFile:62)
    at com.media.edit.App.onCreate(App.java:46)
    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1032)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5876)
    at android.app.ActivityThread.-wrap3(ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1699)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:154)
    at android.app.ActivityThread.main(ActivityThread.java:6682)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
Android开发
分享到
取消 提交回答
全部回答(1)
开发与运维
使用钉钉扫一扫加入圈子
+ 订阅

集结各类场景实战经验,助你开发运维畅行无忧

推荐文章
相似问题
推荐课程