|
我是win10 64 bit,用的AS编译gokit Demo, 编译没有问题,一用avd运行就出错。
原因是libs只有armeabi的,没有x86的,是不是不能用AVD调试?
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.gizwits.opensource.appkit, PID: 4666
java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.gizwits.opensource.appkit-ubci3lD0tsN2-L02KVwBtw==/lib/x86/libSDKLog.so" has unexpected e_machine: 40 (EM_ARM)
at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
at java.lang.System.loadLibrary(System.java:1657)
at com.gizwits.gizwifisdk.log.SDKLog.<clinit>(SDKLog.java:12)
at com.gizwits.gizwifisdk.log.SDKLog.d(SDKLog.java:213)
at com.gizwits.gizwifisdk.api.SDKEventManager.setListener(SDKEventManager.java:116)
at com.gizwits.gizwifisdk.api.GizWifiSDK.setListener(GizWifiSDK.java:52)
at com.gizwits.opensource.appkit.UserModule.GosUserModuleBaseActivity.onResume(GosUserModuleBaseActivity.java:118)
at com.gizwits.opensource.appkit.UserModule.GosUserLoginActivity.onResume(GosUserLoginActivity.java:170)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1355)
at android.app.Activity.performResume(Activity.java:7117)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3556)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3621)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2862)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
I/zygote: JIT allocated 71KB for compiled code of void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int)
I/zygote: Compiler allocated 4MB to compile void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int)
|
|