问题描述
限时送ChatGPT账号..我看到有一个问题 在这里,但建议的答案(删除 .metadata 文件夹)不适用于我的情况.
I see there is a question here in SO, but the proposed answer (deleting .metadata folder) does not work for my case.
这是我所做的:
首先,我有一个证书文件(一旦我生成了一个证书签名请求文件,并为此获得了一个证书文件).我使用了那个 .crt
文件,但是由于我删除了该文件夹中的其他文件,因此不得不创建另一个 .csr
文件以及其他所需的文件(通过生成另一个证书签名请求文件).
然后我请求了一个设备配置文件,并使用给定的 device-profile.xml
和密码来注册证书.
这个过程成功通过了,所以我假设我在这里获取证书的不寻常方式没有任何问题.
Here is what I did:
First, I had a certificate file (once I generated a certificate signing request file, and was given a certificate file for that). I used that .crt
file, but since I had deleted other files in that folder, had to create another .csr
file along with other required files (By generating another certificate signing request file).
Then I requested for a device profile, and used the given device-profile.xml
and password for registering the certificate.
This process went through successfully, so I am assuming there is nothing wrong with the unusual way I took here for the certificate.
然后我导入了一个我在 Tizen IDE 中给出的项目.在设备上点击允许安装应用程序"并且成功.
Then I imported a project I was given in Tizen IDE. Clicked 'Permit to install applications' on the device and it was successful.
然后我右键单击我的项目并选择 > Run As Tizen Wearable Web Application.在这里我收到 SIGNATURE_INVALID 错误.有什么建议吗?
Then I right-clicked on my project and selected > Run As Tizen Wearable Web Application. Here I am getting SIGNATURE_INVALID error. Any suggestions?
推荐答案
我也遇到了一些有关可穿戴 sdk 的拜占庭错误,其中许多像这样的简单流程都失败了.我认为 SIGNATURE_INVALID 错误通常表明您可能没有添加您的齿轮设备 DUID 或允许安装应用程序(您已经完成).您是否正在使用真实的 Gear 设备进行测试,您能否确认在请求您的设备配置文件时是否添加了设备 DUID?我发现的另一件事是,当您使用 tizen 可穿戴 sdk 上的注册证书按钮注册 author.crt 和 device-profile.xml 时,重要的是这些文件的名称没有更改 - 例如 author(1).crt 或 device-profile(1).xml .最后,如果您已经尝试了所有这些,我建议您重新启动该过程......
I have also had some byzantine errors with the wearable sdk where many straightforward processes like this fail. I think the SIGNATURE_INVALID error normally suggests that you may not have added your gear device DUID or permitted to install application (which you have done). Are you testing with a real Gear device, and can you confirm if you added the device DUID whilst requesting your device profile ? Another thing I have found is that when you register the author.crt and device-profile.xml using the register certificate button on the tizen wearable sdk, it is important that the names of these files have NOT changed - e.g author(1).crt or device-profile(1).xml . Finally, if you have tried all of this, I would recommend you restart the process ...
确保手表的时间正确.删除现有的安全配置文件.. winwows->preferences->Tizen sdk->安全配置文件关闭 IDE删除工作区元数据重新启动 IDE、生成新密钥、请求新证书、请求新设备配置文件、注册证书.尝试再次运行您的应用 Make sure the watch's time is correct. Delete existing security profile .. winwows->preferences->Tizen sdk->Security profiles Close IDE Delete workspace metadata Relaunch IDE, Generate new keys, request new certificate, request new device profile, register certificates.
Attempt to run your app again
祝你好运.
这篇关于尝试在三星手表中运行我的项目时出现 SIGNATURE_INVALID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论