Samsung / Wits

Wits for Your Tizen web application development.It will saved your development times and bring pleasure of developing out. Using Wits, You can instantly RELOAD your app's JavaScript/CSS code instead of reinstalling your app every time you make a change.
Apache License 2.0
113 stars 25 forks source link

exec: 'sdb' is not recognized as an internal or external command, operable program or batch file. #27

Closed smarttvdev closed 4 years ago

smarttvdev commented 4 years ago

I am using wits on windows and when I start "npm run", I am getting this error. exec: 'sdb' is not recognized as an internal or external command, operable program or batch file.

I installed it on D, and add environment variable "D:\wits", still getting error. Please help me. thanks.

pwsses commented 4 years ago

Hi You should set sdb path (ex, C:\tizen-studio\tools) in window environment PATH Please refer WITs readME file. Thank you.

smarttvdev commented 4 years ago

Thanks, I just found that and solved. Now I am getting new issue. "Failed to connect 0.0.0.0" Possible to help me with this? Or should I create new issue?

pwsses commented 4 years ago

Maybe you input target IP with 0.0.0.0 which is for emulator. If you use emulator, turn on the emulator.

smarttvdev commented 4 years ago

I am running with simulator. Simulator is different from emulator? I turned on Simulator. But not working.

pwsses commented 4 years ago

Sorry, Wits doesn't support simulator. Simulator is very faster than TV and emulator. it doesn't need any package and install. As I know, It similar to PC browser.

smarttvdev commented 4 years ago

OK. i see. And sorry for taking your time. But, from tizen studio 3.6, I can't run emulator manager. It asked me to enable from firewall, I enabled, nothing happned. I tried so much, but still can't run emulator manager. Do you have any idea? Thanks for your support.

pwsses commented 4 years ago

Additionally, Tizen web application based on single page web. So If you want control key event, bind keydown handler in body tag.

pwsses commented 4 years ago

Sorry I can'y help about emulator manager. How about make question in Samsung developer site? thank you

smarttvdev commented 4 years ago

I see. so, should I handle all key event manually? I am doing this, but it is really hudge work. Is there no any prebuilt plugin?

pwsses commented 4 years ago

It supported all web-based plugin. ex) https://github.com/react-tv/react-tv-navigation

smarttvdev commented 4 years ago

OK. the sdb issue is solved in my side, so I am closing this issue.