4

我正在使用 Tizen SDK (2.4.0_Rev5) 在我的 Gear S2 上启动演示应用程序 HelloTizen (wearable-2.3) 但它失败了,并出现以下错误:

Unknown Error [81]
 Unknown Error [81]

当我尝试安装它时,sdb install HelloTizen.wgt我得到以下输出:

pushed                 HelloTizen.wgt   100%         36KB           0KB/s
1 file(s) pushed. 0 file(s) skipped.
/home/user/tizen/HelloTizen/HelloTizen.wgt   114KB/s (37179 bytes in 0.318s)
path is /opt/usr/apps/tmp/HelloTizen.wgt
__return_cb req_id[138540002] pkg_type[wgt] pkgid[RFZKe67scd] key[start] val[install]
__return_cb req_id[138540002] pkg_type[wgt] pkgid[RFZKe67scd] key[install_percent] val[3]
__return_cb req_id[138540002] pkg_type[wgt] pkgid[RFZKe67scd] key[install_percent] val[22]
__return_cb req_id[138540002] pkg_type[wgt] pkgid[RFZKe67scd] key[install_percent] val[25]
__return_cb req_id[138540002] pkg_type[wgt] pkgid[RFZKe67scd] key[install_percent] val[33]
__return_cb req_id[138540002] pkg_type[wgt] pkgid[RFZKe67scd] key[error] val[81] error message: Non trusted certificate is used. Register valid certificate
__return_cb req_id[138540002] pkg_type[wgt] pkgid[RFZKe67scd] key[end] val[fail]
processing result : Unknown Error [81] failed
spend time for pkgcmd is [1385]ms

有以下输出sdb dlog

W/WRT_INSTALLER(20115): task_certify.cpp: StartStep(619) > --------- <TaskCertify> : START ----------
E/WMS     (  490): wms_event_handler.c: _wms_event_handler_cb_log_package(4560) > package [_________] callback : [INSTALL, PROCESSING]
E/WMS     (  490): wms_event_handler.c: _wms_event_handler_cb_log_package(4560) > package [_________] callback : [INSTALL, PROCESSING]
E/WMS     (  490): wms_event_handler.c: _wms_event_handler_cb_log_package(4560) > package [_________] callback : [INSTALL, PROCESSING]
E/WMS     (  490): wms_event_handler.c: _wms_event_handler_cb_log_package(4560) > package [_________] callback : [INSTALL, PROCESSING]
W/CERT_SVC(20115): OCSPCertMgrUtil.cpp: getCertFromStore(97) > Error during certificate search
W/CERT_SVC(20115): WrtSignatureValidator.cpp: check(365) > signature1.xml has got unrecognized Root CA certificate. Signature will be disregarded.
W/WRT_INSTALLER(20115): task_certify.cpp: throwCertificateInvalidException(373) > Certificate is Invalid [-34]
E/WRT_INSTALLER(20115): task_certify.cpp: stepSignature(350) > Error occured in signature validator: 81
E/APP2EXT (20115): job_widget_install.cpp: SendFinishedFailure(370) > Error number: 81
E/APP2EXT (20115): job_widget_install.cpp: SendFinishedFailure(371) > Message: Non trusted certificate is used. Register valid certificate
W/WRT_INSTALLER(20115): pkgmgr_signal.cpp: sendSignal(275) > Success to send pkgmgr signal: error - 81:Non trusted certificate is used. Register valid certificate
W/WRT_INSTALLER(20115): pkgmgr_signal.cpp: sendSignal(275) > Success to send pkgmgr signal: end - fail
E/WRT_INSTALLER(20115): wrt-installer.cpp: staticWrtStatusCallback(1102) > Step failed

因此,这似乎是与证书相关的错误。我确实Security Profiles使用一个生成作者证书和经销商自动证书生成了我的证书。我也用过Register Certificate,但我不知道它是否有效,因为当我点击确定时,什么也没发生。

我做的另一件事是启用Permit to install applications我的设备。但是,至于证书注册,我不知道它是否有效,因为什么也没发生。我签到了/home/developer,没有device-profile.xml文件。

4

1 回答 1

4

如果您在模拟器中运行应用程序,则 IDE 生成的证书将起作用。但是您在具有用户二进制文件的 Gear S2 中运行应用程序,这就是您需要从三星获取作者证书的原因。下面的链接将向您展示为模拟器和设备的证书安装扩展 sdk 的方法。

https://developer.tizen.org/ko/community/tip-tech/issuing-tizen-certificate-certificate-extension-ver-1.2

于 2016-05-14T17:56:57.787 回答