We're building a hybrid app with IBM Mobile First Platform (7.0) for iOS and Android platforms. We're using JSONStore to save user non-confidential data (we're not cyphering the data stored).
When we deploy the application to a Samsung Galaxy S6 (Model SM-G920I) we're having this error on the init method of the Json Store:
Error code: -11 OPERATION_FAILED_ON_SPECIFIC_DOCUMENT IBM Mobile First Platform - JSONStore errors
Error details: "dlopen failed: "/data/data/com.MyMobileApp/files/libcrypto.so.1.0.0" is 32-bit instead of 64-bit"
Making some research, we cannot figure out something else than the lack of the libraries for x86_64 android devices for IBM Mobile First Platform, as mentioned here: JSONStore initalization fails with PERSISTENT_STORE_FAILURE (Dalvik) / OPERATION_FAILED_ON_SPECIFIC_DOCUMENT (ART)
Does anyone knows any workaround for this issue?
Thanks in advance.
You did not mention the full build number of your MFPF 7.0 installation, so I can only assume you are missing the following recent fix: PI43196 JSONSTORE DOES NOT CORRECTLY IDENTIFY X86_64 ARCHITECTURE PROCESSORS ON MOBILE DEVICES
Go to IBM Fix Central and download the latest available Studio artifact for MFPF 7.0 and try again.
If you are experiencing this issue in xamarin then perform below steps,
- Project-RightClick -- > Options
- Under Build choose Android Build
- Go to Advanced Tab
- Uncheck arm64-v8a and x86_64
- Save and run the project again
32-bit instead of 64 bit error fix in xamarin for ibm worklight json store connection
来源:https://stackoverflow.com/questions/31821453/ibm-mobile-first-json-store-not-working-on-samsung-galaxy-s6