Languages

Menu
Sites
Language
Certificate Error in SDK for Tizen Wearable 1.0.0

Hello,

 

I have downloaded SDK for Tizen Wearable 1.0.0 for 32-bit Windows. I am able to install the SDK and followed all the steps given to generate the certificates and created a security profile too.

When I am trying to build the sample Application, I am getting the error "Error occured while signing the widget. Invalid password". I tried deleting and regenerating the certificates, but the same error comes everytime I try to build the project.

One more issue, If I delete the security profile, I am able to build the project and also can run it on the emulator. But when I try to install the widget on the gear2 as an Integrated App using the android phone, the widget doesn't install on the Samsung Gear 2. I wonder this issue, might be coming because I am not using certificates.

 

Also, I have migrated to a different machine and I am using the same email account to generate the certificates, which I used for my first machine. Can this be the reason for my error ?

 

Please help if someone also has encountered this problem earlier.

Responses

5 Replies
daniel kim

Hi,

It looks like that you've entered wrong password of author certificate.

So I suggest you to go to Windows-->Preferences-->Tizen SDK--> Security Profles menu and fill correct author certficate into it.

 

   https://developer.tizen.org/documentation/articles/trouble-shooting-certification

 

And you need a certificate to install your wgt to Gear 2.

I wish this will help you.

 

Gaurav Singhal

Hi,

Thank You for the help. I am able to generate the certificates successfully and now I am able to build and run the app on the emulator.

 

I am working on Sample HelloAccessory Project which allows data transfer between Android phone and Gear 2. I made some modifications into the Consumer side source code, generated the widget file and used it to generate the HelloAccessoryProducer.apk file and installed the .apk file on the phone.

 

The app is getting installed on the phone successfully, but when it tries to install the app on the Gear 2, I am getting the error "Warning, Failed to install the app."

Initially, I thought it is because of the certificates but still I am getting the same error.

If instead, I try the same widget file given on the Tizen official website and use it to generate a fresh .apk file, the app get installed on gear 2 successfully.

 

I think, I am still missing something to make the working successfull.

 

Any help will be appreciated.

daniel kim

Hi,

I suggest you to check below two things on Mobile.

 (Mobile)

   Settings --> more--> security --> check Unknown sources

(Gear Manger)

 Settings--> Security--> check Unknown sources

 

and you can install your wgt to gear seperately for testing  in IDE to check whether you have any problem about certficate or not.

Regards,

Gaurav Singhal

Hi,
 

I installed the widget separately and the issue was because of certificates only. I am able to solve the issue now and HelloAccessory App is working fine now both on Gear 2 and Android Host Device.

 

After this, I tried to run the HelloAccessoryConsumer on emulator and installed the .apk file on the Android device. I tried to make the communication between emulator and Android Host device. There is a document that describes the procedure to make this happen(Officially given by Samsung).

 

For me, everything was working fine.

I was able to see the "Connected" message in HostManagerForEmul.

Installed the Consumer side widget on emulator side and Producer side .apk on Android host device.

But when I tried to communicate from emulator side, the widget side was not able to communicate with the Host side.

 

Am I missing something ? I checked this 2-3 after performing the given steps again, but communication didn't occur.

daniel kim

Hi,

I would suggest you to run below things as I could solve unkown connection problem while Android phone is connecting to Gear emulator.

 

  # sdb -e shell

  # su # killall sap-server

  # vconftool set -t int memory/wms/wmanager_connected 1 –f

 

Regards,