Unable to add an app to Samsung Smart Tv Emulator

♀尐吖头ヾ 提交于 2019-12-25 00:56:18

问题


I'd be very grateful if someone could offer me advice getting on getting the Samsung TV emulator to work as I need to test a web app and I have spent more than a day trying different things without success.

I'm using Windows 10. Tizen Studio 3.0, Tv Emulator 4

When I look in the apps section I only see the internet option. When I attempt to drag a sample app into the emulator I see a not permitted icon.

I attempted to access the app via inbuilt browser, either via localhost or a remote address, it fails because it doesn't have network access. It is in Nat mode, in the default configuration. I don't know which ports to use for port forwarding and I followed the bridged network instructions but that doesn't work either. I tried adding a shared folder called Apps and adding a sample app to that but nothing appeared there either.

I have created a test certificate, I'm not sure how to apply it or if it is automatically applied. Any advice would be very welcome because I've run out of ideas.


回答1:


In order to install the application you must upload your certificate to the emulator (or TV), please find the instructions under creating certificates for Samsung TV devs

The best way to get your certificate working is to create it after boot the emulator, doing this, the certificate manager will get the emulator DUID automatically

Drag and drop operations are not supported by the tv emulator, so you must use 'Run as...' option (right click on the project name) and select 'Tizen web application'

UPDATE: In order save your time, is better to downgrade to Tizen Studio 1.3 and TV Extensions 3, most of problems will disappear and you will be able to develop the same apps (incluiding 2015 & 2016 models)

Please follow this guide HOW TO GET BACK TIZEN STUDIO 1.3 AND TV EXTENSIONS 3.0

So after get back your old 1.3 IDE (using a new workspace)

  • create and boot your TV Emulator (tv-extensions 3)
  • create your certificates (remember to Sign in with your Samsung Developer account) linking them to the DUID
  • Open the 'Connection Explorer' view, right click the emulator and select 'Permit to install applications'
  • Right click the project name and select 'Run As... Tizen Web Application'
  • Cross your fingers



回答2:


Thanks for your reply, I really appreciate it! I followed the steps and it got me much closer than I've been before but it still won't load the app. It appears in device manager and I was able to add the certificate there. However, it doesn't appear as in the Samsung screenshots. I can't see the directory structure to the right hand side and the connection button is in light blue, as if it isn't an option. enter image description here

When I try to add the app via the device manager it says sdbCommandRejectedException:closed when I try via Run As the problem appears as Closed, closed. I have tried numerous version 4 and 5 sample apps. And I tried with a blank sample app and they all have the closed closed error.

I searched and found this forum entry relating to the closed closed error. https://developer.tizen.org/forums/sdk-ide/tizen-studio-cannot-run-application-on-smart-tv

It maybe to do with the version of the tv emulator and or the sdk? Someone was able to run a sample app using a tizen.bat but I couldn't find that bat. I'm using sdk 3.0 and he was running an earlier version. What a time drain this tizen emulator is. If you do have any suggestions I'd be very grateful to hear them. Thanks.



来源:https://stackoverflow.com/questions/53370013/unable-to-add-an-app-to-samsung-smart-tv-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!