开发者社区> 问答> 正文

so找不到

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)

展开
收起
游客aqpqenklvwob2 2019-02-28 10:32:13 4818 0
1 条回答
写回答
取消 提交回答
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载