问题描述
我正在尝试在 Samsung Galaxy gear 中运行我的示例应用程序,但我无法在 Tizen 中给我错误SIGNATURE_INVALID [22] failed
".我已按照所有步骤操作.
I am trying to run my sample app in Samsung galaxy gear s but I couldn't It's giving me error "SIGNATURE_INVALID [22] failed
" in Tizen. I have followed all steps.
推荐答案
这通常意味着您创建的用于启动进程的证书与下载的设备配置文件不匹配.Tizen Wearable 签名流程分为 3 个部分
That usually means the certificate that you created to start the process doesn't match the device profile that was downloaded. There are 3 parts to the Tizen Wearable signing process
- 您使用 Tizen IDE 创建的证书.此文件位于 ~/tizen-wearable-sdk-data/keystore/author.csr.
- 您的证书已使用三星开发者帐户共同签署并通过电子邮件在名为 author.crt 的文件中返回给您
- 您正在调试的设备所独有的设备配置文件.这是由三星开发者网站根据您提供的信息创建的.结果作为 device_profile.xml 在电子邮件中发送.您使用您的作者证书签署此配置文件并安装.如果用于签署此配置文件的签名与原始 author.csr 不匹配,则会失败.
该过程不像 Android 那样简单,因为您可以对 Android APK 进行自签名.Tizen/嵌入式 Linux 不允许这样做.
The process isn't as simple as Android as you can self-sign Android APKs. Tizen/embedded Linux don't allow that.
我有一些我在 11 月回馈的演讲的幻灯片 在三星开发者大会上.当时主要的三星开发者网站有一些不准确的信息,因此请查看这些作为参考.
I have some slides from a talk I gave back in November at the Samsung Developer Conference. The main Samsung developer site had some inaccurate information at the time, so check out these as a reference.
这篇关于OS-SIGNATURE_INVALID [22] 在 Tizen 可穿戴 sdk 中失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!