OS-SIGNATURE_INVALID [22] failed in Tizen wearable sdk

拈花ヽ惹草 提交于 2019-12-11 09:57:30

问题


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.


回答1:


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

  1. Your certificate that you create using the Tizen IDE. This file is in ~/tizen-wearable-sdk-data/keystore/author.csr.
  2. Your certificate that has been co-signed using the Samsung Developer account and returned to you in email in a file named author.crt
  3. A device profile that is unique to the device you are debugging. This is created by the Samsung Developer site based on information you provide. The result is sent in an email as device_profile.xml. You sign this profile with your author certificate and install. If the signature used to sign this profile doesn't match the original author.csr, then it will fail.

The process isn't as simple as Android as you can self-sign Android APKs. Tizen/embedded Linux don't allow that.

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.



来源:https://stackoverflow.com/questions/29862547/os-signature-invalid-22-failed-in-tizen-wearable-sdk

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