android - x86_64 模拟器上的 JSONStore Android 应用程序

标签 android android-emulator jsonstore ibm-mobilefirst

我构建了一个使用 JSONStore 的 MobileFirst 6.3 应用程序,并尝试在 x86_64 Android 模拟器上运行它。我得到了

02-15 13:11:54.600: D/com.worklight.nativeandroid.common.WLUtils(2081):
 WLUtils.loadLib in WLUtils.java:539 :: 
 Extracting zip file: featurelibs/armeabi/libcrypto.so.1.0.0
02-15 13:11:54.800: D/com.worklight.nativeandroid.common.WLUtils(2081):
 WLUtils.loadLib in WLUtils.java:549 :: 
 Loading library using System.load: /data/data/com.OfflineAuthSample/files/libcrypto.so.1.0.0
02-15 13:11:54.810: E/art(2081): dlopen("/data/data/com.OfflineAuthSample/files/libcrypto.so.1.0.0", RTLD_LAZY) 
 failed: dlopen failed: "/data/data/com.OfflineAuthSample/files/libcrypto.so.1.0.0" 
 has unexpected e_machine: 40
02-15 13:11:54.890: E/wl.jsonstore(2081): 
{"src":"initCollection",
 "err":-11,
 "msg":"OPERATION_FAILED_ON_SPECIFIC_DOCUMENT",
 "col":"userCredentials",
 "usr":"hola",
 "doc":"dlopen failed: \"/data/data/com.OfflineAuthSample/files/libcrypto.so.1.0.0\" has unexpected e_machine: 40",
 "res":{}}

e_machine:40 seems to mean EM_ARM

最佳答案

使用任何其他模拟器(x86 或 ARM)就可以了

MobileFirst Studio 6.3 似乎不包含 64 位英特尔仿真器的 native 库

projName\apps\appName\android\native\libs>tree /f
C:.
|   ...
│
├───armeabi
│       ...
│
├───armeabi-v7a
│       ...
│
├───mips
│       ...
│
└───x86
        ...

关于android - x86_64 模拟器上的 JSONStore Android 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28527491/

相关文章:

android - 具有 "file"方案的 URI 如何在 Android 中工作

mobile - JSONStore 工作灯 - 大小限制

javascript - 分机号 : Override JsonReader or post-process

java.lang.NullPointerException异常

android - Kotlin Map 项目列表流

android - React Native 应用程序未在物理设备上运行

Android 模拟器 - TrafficStats.getUidTxBytes(uid)

Android模拟器文件读取权限

javascript - 在循环中将文档添加到 worklight jsonstore

java - 通过 contentobserver 添加/删除/编辑联系人时通知我的应用程序