Deploying Tizen app to Gear S2: Non trusted certificate is used

。_饼干妹妹 提交于 2020-01-03 16:45:34

问题


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.

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.

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?


回答1:


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.

Refer this my answer.




回答2:


I am able to deploy on mine (I use CLI sdk on GNU/linux), please detail which version of tizen-studio + packages (cert-addon) you are using, some hints at :

  • https://wiki.tizen.org/wiki/SDK#error_81


来源:https://stackoverflow.com/questions/40790473/deploying-tizen-app-to-gear-s2-non-trusted-certificate-is-used

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!