IBM Mobile First - Json Store not working on Samsu

2019-02-15 13:39发布

问题:

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.

回答1:

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.



回答2:

If you are experiencing this issue in xamarin then perform below steps,

  1. Project-RightClick -- > Options
  2. Under Build choose Android Build
  3. Go to Advanced Tab
  4. Uncheck arm64-v8a and x86_64
  5. Save and run the project again

32-bit instead of 64 bit error fix in xamarin for ibm worklight json store connection