tizensamsung-galaxy-gear

SDB device unauthorized


Hi So I have recently been developing apps for my Samsung Galaxy smartwatch. Initially when I connected to it, it asked for permission. But a while ago I reset my device (To enable samsung pay). I then precoded to restore a backup.

Now when I try to connect my watch to my computer with sdb, I get the error message

C:\tizen-studio\tools>sdb connect 192.168.137.41:26101
connecting to 192.168.137.41:26101 ... device unauthorized. Please approve on your device.

But nothing shows up on my device.

Then when I run that command again I get the message

C:\tizen-studio\tools>sdb connect 192.168.137.41:26101
192.168.137.41:26101 is already connected

So I then try to get shell access like I have been able to do in the past, then I get this error:

C:\tizen-studio\tools>sdb shell
device unauthorized. Please check the confirmation dialog on your device.
device unauthorized. Please check the confirmation dialog on your device.
device unauthorized. Please check the confirmation dialog on your device.

But again, I have no dialog that shows up on my watch.

So right now, I am not able to develop any more apps for my watch as it wont let me connect to it anymore.

To fix this problem on android devices you normally just need to Revoke USB DEBUGGING Authorization. But I cant find this option on Tizen OS.

What can I do to allow my watch to connect to my computer again?


Solution

  • The fix was to go into C:\Users\{USER}\.tizen and ether delete that folder or delete the items in it. This changes your key to a new one which make the watch prompt you to accept the new key