Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app-lib/com.megvii.awesomedemo.facepp-1/libMegviiFacepp-0.5.2.so" has unexpected e_machine: 40 #41

Open
ismyaki opened this issue Mar 12, 2018 · 2 comments

Comments

@ismyaki
Copy link

ismyaki commented Mar 12, 2018

android 版本4.4.2
專案clone 下來跑就出現以下訊息
不知道官方有沒有文件可以排除

java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app-lib/com.megvii.awesomedemo.facepp-1/libMegviiFacepp-0.5.2.so" has unexpected e_machine: 40
at java.lang.Runtime.loadLibrary(Runtime.java:364)
at java.lang.System.loadLibrary(System.java:526)
at com.megvii.facepp.sdk.jni.NativeFaceppAPI.(NativeFaceppAPI.java:76)
at com.megvii.facepp.sdk.Facepp.getSDKAuthType(Facepp.java:350)
at com.megvii.facepp.sdk.Facepp.getApiExpirationMillis(Facepp.java:325)
at com.facepp.demo.LoadingActivity.init(LoadingActivity.java:48)
at com.facepp.demo.LoadingActivity.onCreate(LoadingActivity.java:40)
at android.app.Activity.performCreate(Activity.java:5411)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2270)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2396)
at android.app.ActivityThread.access$800(ActivityThread.java:139)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1293)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:149)
at android.app.ActivityThread.main(ActivityThread.java:5257)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)
at dalvik.system.NativeStart.main(Native Method)

@jionkang
Copy link
Contributor

jionkang commented May 3, 2018

是so的指令集不兼容导致的,第一so有没有做过移动,第二您手机的架构可以描述下吗?

@jionkang
Copy link
Contributor

jionkang commented May 3, 2018

还有模拟器是不兼容的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants