I see there is a question here in SO, but the proposed answer (deleting .metadata folder) does not work for my case.
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.
Then I imported a project I was given in Tizen IDE. Clicked 'Permit to install applications' on the device and it was successful.
Then I right-clicked on my project and selected > Run As Tizen Wearable Web Application. Here I am getting SIGNATURE_INVALID error. Any suggestions?
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 ...
Attempt to run your app again
Good luck.