将 Tizen 应用程序部署到 Gear S2:使用了不受信任的证书 [英] Deploying Tizen app to Gear S2: Non trusted certificate is used

查看:34
本文介绍了将 Tizen 应用程序部署到 Gear S2:使用了不受信任的证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使 Tizen Studio 工作后,我(未成功)尝试将示例应用程序部署到 Samsung Gear S2.该应用程序是示例之一,我已经按照说明中的说明设置了用于商业设备的证书.

After getting Tizen Studio to work, I am (unsuccessfully) attempting to deploy a sample app to a Samsung Gear S2. The app is one of the samples and I've set up the certificates for use on commercial devices as explained in the instructions.

当我选择允许安装应用程序"时,我得到了正确的成功响应,我还可以看到 device-profile.xml 位于具有正确 DUID 的设备上.

When I select "Permit to install applications" I get the correct success response and I can also see that the device-profile.xml is on the device with the correct DUID.

但是,尝试部署应用程序(从 IDE 和通过 sdb)仍然会导致错误:

However, attempting to deploy the app (both from the IDE and via sdb) still results in an error:

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

还有什么可能是错误的?

What else could possibly be wrong?

推荐答案

您需要三星证书.在 Tizen Studio 中创建的带有证书的应用程序只能运行在模拟器上.如果您想在真机上运行应用程序,请使用三星证书.

You need samsung certificate. Application with Certificate that created in Tizen Studio can be run only Emulator. Use Samsung Certificate if you want to run application on real device.

参考这是我的答案.

这篇关于将 Tizen 应用程序部署到 Gear S2:使用了不受信任的证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆