Manifest验证失败,错误代码为1871(使用本机Tizen SDK为Gear S开发)

时间:2015-01-13 12:12:15

标签: tizen tizen-wearable-sdk samsung-galaxy-gear tizen-native-app

虽然我认为正式开发本机应用程序(即非网络应用程序)是不可能的(但是?)三星Galaxy Gear SI仍然发现找到一个能够使用更丰富的API的工作是很有吸引力的然后可用于网络应用程序。

我尝试的是使用Tizen SDK for Wearable生成的证书和常规/本机Tizen SDK。在某种程度上它成功了 - 包装签名验证在包装安装到我的Gear S时通过,但我看到以下错误(MANIFEST_INVALID)出现在:

'Launching sensors - Debug' has encountered a problem.

Cannot install application.

Error code: MANIFEST_INVALID
Error message: Manifest Validation Failed
Command: /usr/bin/pkgcmd -q -i -t tpk -p /opt/usr/apps/tmp/org.tizen.sensors-1.0.0-arm.tpk
Management: Check manifest.xml in manifest editor.

并且它还在日志中留下了以下跟踪(Manifest Validation Failed with error code 1871):

01-12 13:50:36.258 : ERROR / rpm-installer ( 30250 : 30250 ) : rpm-appcore-intf.c: main(192) > [/opt/usr/apps/tmp/org.tizen.sensors-1.0.0-arm.tpk] is tpk package.
01-12 13:50:36.278 : ERROR / rpm-installer ( 30250 : 30250 ) : rpm-installer-core.c: _rpm_installer_get_pkgname_info(297) > There is no old version for org.tizen.sensors.
01-12 13:50:36.298 : ERROR / W_HOME ( 665 : 665 ) : pkgmgr.c: _start(442) > (_exist_request_in_list(package)) -> _start() return
01-12 13:50:36.298 : ERROR / APPS ( 665 : 665 ) : pkgmgr.c: _pkgmgr_cb(709) > pkgmgr_cbs[0].func has errors.
01-12 13:50:37.008 : ERROR / CERT_SVC ( 30250 : 30250 ) : CertificateVerifier.cpp: verify_message_signature(239) > Signature Verify of certificate-registration.xml is passed.
01-12 13:50:37.098 : ERROR / PKGMGR_PARSER ( 30250 : 30250 ) : pkgmgr_parser.c: pkgmgr_parser_check_manifest_validation(2646) > Manifest Validation Failed with error code 1871
01-12 13:50:37.098 : ERROR / rpm-installer ( 30250 : 30250 ) : coretpk-installer.c: _coretpk_installer_package_install(1706) > @invalid manifest file
01-12 13:50:37.108 : ERROR / CAPI_APPFW_PACKAGE_MANAGER ( 626 : 626 ) : package_manager.c: global_event_handler(831) > PM error : pkg_name = org.tizen.sensors, pkg_type = rpm, event_type = 0, error case = 12, error cause = MANIFEST_INVALID
01-12 13:50:39.108 : ERROR / rpm-installer ( 30250 : 30250 ) : coretpk-installer.c: _coretpk_installer_package_install(1794) > [@]end : _coretpk_installer_package_install
01-12 13:50:39.138 : ERROR / rpm-installer ( 30250 : 30250 ) : coretpk-installer.c: _coretpk_installer_prepare_package_install(2206) > [@@]end : _coretpk_installer_prepare_package_install[12]
01-12 13:50:39.138 : ERROR / rpm-installer ( 30250 : 30250 ) : rpm-cmdline.c: _ri_cmdline_process(383) > __ri_process_request: Error
01-12 13:50:39.188 : ERROR / W_HOME ( 665 : 665 ) : pkgmgr.c: _end(647) > (strcasecmp(val, "ok")) -> _end() return
01-12 13:50:39.188 : ERROR / APPS ( 665 : 665 ) : pkgmgr.c: _pkgmgr_cb(709) > pkgmgr_cbs[6].func has errors.

有人试过/设法通过吗?

我在下面列出了让我走到这一步的完整序列。 任何提示都是受欢迎的。

最诚挚的问候,

C

步骤:

  1. 安装Tizen SDK,Tizen SDK for Wearable并注册作者& Tizen SDK for Wearable中的经销商证书:http://www.pdf-archive.com/2015/01/13/tizen-sdk-installation-and-configuration/tizen-sdk-installation-and-configuration.pdf
  2. 重复使用作者&来自本机Tizen SDK中Tizen SDK for Wearable的经销商证书:http://www.pdf-archive.com/2015/01/13/developingnativetizenappforwearabledevice/developingnativetizenappforwearabledevice.pdf

0 个答案:

没有答案