如何通过Tizen Studio在Gear S2上安装应用程序? [英] How to install app on Gear S2 via Tizen Studio?

查看:558
本文介绍了如何通过Tizen Studio在Gear S2上安装应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不熟悉为Gear S2开发Tizen应用程序.我已经完成了本教程,但无法在我的Gear S2上安装我的应用.

I am new to developing Tizen apps for the Gear S2. I've been through the tutorial but can't get my app installed on my Gear S2.

我正在Mac OS Sierra(10.12.1)中使用Tizen Studio 1.0.1,以及新购买的Gear S2.

I'm using Tizen Studio 1.0.1 in Mac OS Sierra (10.12.1), and a newly bought Gear S2.

我已经安装了Extension SDK(三星证书扩展和Samsung Wearable Extension),然后通过证书管理器(作者证书和分发者证书)创建了证书,并通过Wifi(与我的计算机相同的网络)连接了Gear S2 ,通过在连接浏览器中选择(右键单击)设备标识符来设置允许安装应用程序",最后在项目"菜单的运行方式"选项中设置配置.

I've installed the Extension SDK (Samsung Certificate Extension and Samsung Wearable Extension), then created a certificate through the Certificate Manager (Author Certificate and a Distributor Certificate), connected my Gear S2 via Wifi (same network as my computer), set "Permit to install application" by selecting (right click) the device identifier in the connection explorer, and finally set a configuration in the "Run as" option from the Project menu.

但是,每次尝试安装并在设备上运行它时,我都会收到错误消息:

But I get an error every time I try to install it and run it on my device:

$ sdb -s 192.168.2.14:26101 install myapp.wgt [...] __return_cb req_id[107100002] pkg_type[wgt] pkgid[6U1GRaNlHz] key[error] val[81] error message: Non trusted certificate is used. Register valid certificate __return_cb req_id[107100002] pkg_type[wgt] pkgid[6U1GRaNlHz] key[end] val[fail] processing result : Unknown Error [81] failed spend time for pkgcmd is [1225]ms

$ sdb -s 192.168.2.14:26101 install myapp.wgt [...] __return_cb req_id[107100002] pkg_type[wgt] pkgid[6U1GRaNlHz] key[error] val[81] error message: Non trusted certificate is used. Register valid certificate __return_cb req_id[107100002] pkg_type[wgt] pkgid[6U1GRaNlHz] key[end] val[fail] processing result : Unknown Error [81] failed spend time for pkgcmd is [1225]ms

虽然在仿真器上工作正常.

Works fine on the emulator though..

我可能已经弄乱了证书...实际上,我删除了我创建的第一个证书,因为它不起作用,并尝试在文档记录后创建一个新证书,但实际上可能只是因为我需要注册.我该怎么办?

I may have messed around with the certificate... Indeed I removed the first certificate I created because it wasn't working and tried to create a new one following the documentation reco, but actually it might just be because I need to register it. How can I do that?

我遗漏或做错了什么其他想法,以及如何解决? Tizen文档并没有真正的帮助...

Any other ideas what I miss or did wrong, and how to solve it? The Tizen documentation isn't really helping...

感谢您的帮助!

推荐答案

您是否通过三星认证过程制作了证书?检查您的证书来自三星. 如果仅使用sdk制作证书,则仅在仿真器而非真实设备上运行. 您可以在证书菜单上选择Samsung证书创建过程.

Did you make certificate from samsung certification process? Check your certificate is from samsung. If you make certificate with only sdk it is run only emulator not real device. You can choose Samsung certificate creation process on certificate menu.

您可以在菜单tools-> Certificate Manager

在证书管理器中单击+,然后

click + in certificate manager and

单击Samsung并制作三星证书.

这篇关于如何通过Tizen Studio在Gear S2上安装应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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