简体   繁体   English

通过Tizen Studio在Samsung Gear Fit 2上安装应用程序

[英]Install Applications on Samsung Gear Fit 2 via Tizen Studio

A few weeks ago, I bought the Samsung Gear Fit 2 , and because I'm a hobby programmer, I tried to make an app for it, and the making of an web-based app in Tizen Studio worked very well. 几周前,我买了Samsung Gear Fit 2 ,因为我是一个业余程序员,所以我尝试为其创建一个应用程序,并且在Tizen Studio中制作基于Web的应用程序非常有效。

EDIT: I solved the problem. 编辑:我解决了问题。 I had to create a Samsung certificate. 我必须创建三星证书。 The second problem was that I had to set the minimum Tizen version to 2.3.1 because the Gear Fit 2 does not support higher versions. 第二个问题是我必须将Tizen的最低版本设置为2.3.1,因为Gear Fit 2不支持更高的版本。 And finally I was able to install the app on my Gear Fit 2. 最后,我能够在我的Gear Fit 2上安装该应用程序。

The app is called "Calculator". 该应用程序称为“计算器”。 When I try to install the app on my Watch, a Error shows: 当我尝试在手表上安装应用程序时,出现错误:

Launching Calculator has encountered a problem. 启动计算器遇到问题。
Installing the package... > Fail 安装软件包...>失败

Details: 细节:

Installing the package... > Fail 安装软件包...>失败
Unexpected error occurred at the below step. 在下面的步骤中发生了意外的错误。
'Installing the package...' “正在安装软件包...”
Please try again later. 请稍后再试。

Welcome to Tizen! 欢迎来到Tizen! :) Tizen Web App is very easy and fun. :) Tizen Web App非常简单有趣。

If you want to install your app on your watch (Samsung Commercial Device), you have to use Samsung distributor certificate. 如果要在手表(三星商用设备)上安装应用程序, 则必须使用三星经销商证书。 Because it is Samsung Gear security policy. 因为这是Samsung Gear的安全策略。

You can see how to generate Samsung certificate and install on device at below material. 您可以在下面的资料中查看如何生成三星证书并在设备上安装。

See "1_tizen_studio_windows.pdf" -> "Running Applications on a Target Device" 48 page. 请参见“ 1_tizen_studio_windows.pdf”->“在目标设备上运行应用程序”第48页。

https://developer.tizen.org/community/tip-tech/developing-tizen-apps-tizen-studio https://developer.tizen.org/community/tip-tech/developing-tizen-apps-tizen-studio

Good luck! 祝好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM