我正在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)上正常运行。

最佳答案

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

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

关于android - IBM Mobilefirst 7.0-供应期间的JSONStore错误无法找到符号“CBB_add_u16”,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/39457875/

10-11 06:03