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)
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。