1

我正在 Android 7 - Nexus 5 (aosp_hammerhead-userdbug 7.0 NRD90M) 上部署使用 IBM Mobilefirst Platform Studio v 7.0.0.00.20160526-2153 构建的应用程序,它正在跟踪与 JSONStore 相关的下一个错误:

09-12 14:19:39.761 17860-17902/com.myapp.MobileApp E/JSONSTORE: JSONStoreLogger.logError in JSONStoreLogger.java:189 :: Error during provision
                                                                   java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "CBB_add_u16" referenced by "/system/lib/libssl.so"...
                                                                       at java.lang.Runtime.loadLibrary0(Runtime.java:977)
                                                                       at java.lang.System.loadLibrary(System.java:1530)
                                                                       at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:143)
                                                                       at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:136)
                                                                       at com.worklight.jsonstore.database.DatabaseManager.openDatabaseIfNecessary(DatabaseManager.java:179)
                                                                       at com.worklight.jsonstore.database.DatabaseManager.checkDatabaseAgainstSchema(DatabaseManager.java:98)
                                                                       at com.worklight.jsonstore.database.DatabaseSchema.isSchemaMismatched(DatabaseSchema.java:417)
                                                                       at com.worklight.jsonstore.api.WLJSONStore.provisionDatabase(WLJSONStore.java:149)
                                                                       at com.worklight.jsonstore.api.WLJSONStore.openCollections(WLJSONStore.java:345)
                                                                       at com.worklight.androidgap.jsonstore.dispatchers.ProvisionActionDispatcher.initializeCollection(ProvisionActionDispatcher.java:147)
                                                                       at com.worklight.androidgap.jsonstore.dispatchers.ProvisionActionDispatcher.databaseActionDispatch(ProvisionActionDispatcher.java:133)
                                                                       at com.worklight.androidgap.jsonstore.dispatchers.BaseDatabaseActionDispatcher.actionDispatch(BaseDatabaseActionDispatcher.java:36)
                                                                       at com.worklight.androidgap.jsonstore.dispatchers.BaseActionDispatcher.dispatch(BaseActionDispatcher.java:90)
                                                                       at com.worklight.androidgap.plugin.DispatchingPlugin$ActionDispatcherRunnable.run(DispatchingPlugin.java:79)
                                                                       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
                                                                       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
                                                                       at java.lang.Thread.run(Thread.java:761)
09-12 14:19:39.765 17860-17902/com.myapp.MobileApp E/MyApp: /***** 
09-12 14:19:39.769 17860-17902/com.myapp.MobileApp E/MyApp: PERSISTENT_STORE_FAILURE
09-12 14:19:39.773 17860-17902/com.myapp.MobileApp E/MyApp:  *****/
09-12 14:19:39.777 17860-17902/com.myapp.MobileApp E/wl.jsonstore: {"src":"initCollection","err":-1,"msg":"PERSISTENT_STORE_FAILURE","col":"App","usr":"app","doc":{},"res":{}}

虽然应用程序能够使用来自 Mobilefirst 服务器的适配器服务(当应用程序调用适配器时服务器正在跟踪)。

该应用程序在较低的 Android SO(4.4、5.X、6.X)上运行良好。

4

1 回答 1

2

这是 Android 7 的 JSONStore 支持的一个已知问题。

请密切关注以下博客文章,一旦 iFix 可用,该文章将更新:https ://mobilefirstplatform.ibmcloud.com/blog/2016/04/05/mobilefirst-platform-compatibility-for-android-n/

于 2016-09-13T03:25:01.113 回答