问题
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
- Your certificate that you create using the Tizen IDE. This file is in ~/tizen-wearable-sdk-data/keystore/author.csr.
- Your certificate that has been co-signed using the Samsung Developer account and returned to you in email in a file named author.crt
- 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