JSONStore 初始化失败

JSONStore initialization fails

我正在尝试让 JSONStore 在 Lenovo A7000-a 上的 MobileFirst 7 应用程序中运行。但是 JSONStore 在初始化时抛出错误。但是在我的 LG P880 上它运行良好。这是init的代码:

var collections = {
    configuration : {
      searchFields : { id : 'string' }
    },
    taskList : {
      searchFields : { id : 'string' }
    },
    statistics : {
      searchFields : { subCategoryId : 'string' }
    },
    issues : {
      searchFields : {
        id            : 'string',
        internalId    : 'string',
        taskListId    : 'string',
        subCategoryId : 'string',
        subTaskId     : 'string'
      }
    },
    subCategories : {
      searchFields : {}
    },
    categories : {
      searchFields : {}
    },
    resultQueue : {
      searchFields : {
        taskListId: 'string'
      }
    }
  };

  WL.JSONStore.init(collections)
    .then( function (result) {
      angular.element(document).ready(function() {
        angular.bootstrap(document, ['App']);
      });
    },
    function (error) {
      console.log('ERROR: cannot initialize JSONStore');
    });

这是我得到的错误: 基于错误,我猜这个错误是因为联想有 64 位 ARM 处理器 (MT6752M)。有办法解决这个问题吗?

将您的 MobileFirst Platform Foundation 7.0 安装更新到 IBM Fix Central 提供的最新可用 iFix,其中将包含以下修复:

PI43196 JSONSTORE 未正确识别X86_64 移动设备上的架构处理器