Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.3k views
in Technique[技术] by (71.8m points)

android so 加载报错 求原因

2021-01-04 13:45:54.389 7645-7645/? I/e.myapplicatio: Not late-enabling -Xcheck:jni (already on)
2021-01-04 13:45:54.410 7645-7645/? I/e.myapplicatio: Unquickening 12 vdex files!
2021-01-04 13:45:54.411 7645-7645/? W/e.myapplicatio: Unexpected CPU variant for X86 using defaults: x86
2021-01-04 13:45:54.636 7645-7645/com.example.myapplication D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2021-01-04 13:45:54.637 7645-7645/com.example.myapplication D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2021-01-04 13:45:54.656 7645-7675/com.example.myapplication D/libEGL: loaded /vendor/lib/egl/libEGL_emulation.so
2021-01-04 13:45:54.658 7645-7675/com.example.myapplication D/libEGL: loaded /vendor/lib/egl/libGLESv1_CM_emulation.so
2021-01-04 13:45:54.662 7645-7675/com.example.myapplication D/libEGL: loaded /vendor/lib/egl/libGLESv2_emulation.so
2021-01-04 13:45:54.780 7645-7645/com.example.myapplication D/AndroidRuntime: Shutting down VM
2021-01-04 13:45:54.782 7645-7645/com.example.myapplication E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.example.myapplication, PID: 7645
    java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/~~ZTj0CNrL-M-PNWopuctPAw==/com.example.myapplication-qczo96RJKIpngzanf2ea5Q==/lib/x86/libcms.so" is for EM_ARM (40) instead of EM_386 (3)
        at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
        at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
        at java.lang.System.loadLibrary(System.java:1664)
        at com.ss.sys.ces.a.<clinit>(a.java:6)
        at com.ss.sys.ces.a.leviathan(Native Method)
        at com.example.douyinjni.MainActivity.onCreate(MainActivity.java:19)
        at android.app.Activity.performCreate(Activity.java:8000)
        at android.app.Activity.performCreate(Activity.java:7984)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3422)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:223)
        at android.app.ActivityThread.main(ActivityThread.java:7656)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

package com.ss.sys.ces;

public final class a {

static {
    System.loadLibrary("cms");
}
public static native byte[] leviathan(int i, int i2, byte[] bArr);

}


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...