让 Tizen Studio 工作后,我(未成功)尝试将示例应用程序部署到 Samsung Gear S2。该应用程序是示例之一,我已按照说明中的说明设置了用于商业设备的证书。
当我选择“允许安装应用程序”时,我得到了正确的成功响应,并且我还可以看到device-profile.xml
位于具有正确 DUID 的设备上。
但是,尝试部署应用程序(从 IDE 和通过 sdb)仍然会导致错误:
tizen@buerk:~/tizen-studio/tools$ ./sdb install ../../workspace/FirstExample/FirstExample.wgt
WARNING: Your data is to be sent over an unencrypted connection and could be read by others.
pushed FirstExample.wgt 100% 1681KB 0KB/s
1 file(s) pushed. 0 file(s) skipped.
../../workspace/FirstExample/FirstExample.wgt 553KB/s (1721589 bytes in 3.035s)
path is /opt/usr/apps/tmp/FirstExample.wgt
__return_cb req_id[21310002] pkg_type[wgt] pkgid[RGUVa9zGKK] key[start] val[install]
__return_cb req_id[21310002] pkg_type[wgt] pkgid[RGUVa9zGKK] key[install_percent] val[3]
__return_cb req_id[21310002] pkg_type[wgt] pkgid[RGUVa9zGKK] key[install_percent] val[22]
__return_cb req_id[21310002] pkg_type[wgt] pkgid[RGUVa9zGKK] key[install_percent] val[25]
__return_cb req_id[21310002] pkg_type[wgt] pkgid[RGUVa9zGKK] key[install_percent] val[33]
__return_cb req_id[21310002] pkg_type[wgt] pkgid[RGUVa9zGKK] key[error] val[81] error message: Non trusted certificate is used. Register valid certificate
__return_cb req_id[21310002] pkg_type[wgt] pkgid[RGUVa9zGKK] key[end] val[fail]
processing result : Unknown Error [81] failed
spend time for pkgcmd is [2180]ms
还有什么可能是错误的?
您需要三星证书。
在 Tizen Studio 中创建的带有证书的应用程序只能在模拟器上运行。
如果您想在真实设备上运行应用程序,请使用三星证书。
Refer 这是我的答案 https://stackoverflow.com/questions/40742515/how-to-install-app-on-gear-s2-via-tizen-studio/40755444#40755444.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)