SamsungDForum / JuvoPlayer

The reference for developers of streaming live TV and VOD Tizen .Net applications.
Other
52 stars 23 forks source link

Unable to start debugging. Unable to establish a connection to clrdbg #13

Closed johnlu0907 closed 4 years ago

johnlu0907 commented 4 years ago

I have compiled SimplePlayer project on VS 2019 and installed Tizen 3.7 latest version. But when installing tpk to tv emulator, I'm getting an issue as following: Unable to start debugging. Unable to establish a connection to clrdbg Please help me

ppaneksamsung commented 4 years ago

Hello, Could you share more details?

johnlu0907 commented 4 years ago

Thanks for your helping! I have tried to run an app without debugging and never got CLRDBG issue. But I have got an notification an app is launched but really, I can not see any app launched. Screenshot (1)

ppaneksamsung commented 4 years ago

I see "install failed[118, -14], reason: Signature error :' error in Tizen output tab.

Did you set up certificates correctly? Here is the brief guide:

  1. Install "Samsung Certificate Extension", see: https://developer.samsung.com/galaxy-watch-develop/getting-certificates/install.html
  2. Open 'Tizen Certificate Manager' and create new certificate, see: https://developer.samsung.com/galaxy-watch-develop/getting-certificates/create.html
    • Device type is 'TV'
    • Make sure that Emulator DUID is added to 'Add individual DUIDs' in 'Create Certificate Profile' page. Emulator DUID will be automatically added if emulator is running during creating new certificate profile.
    • Privilege level needs to be 'Partner' in 'Create Certificate Profile' page.
    • You will be asked to Sign-In to Samsung account. Please create a new one if you don't have any.
  3. Permit to install apps on emulator, see: https://developer.samsung.com/galaxy-watch-develop/getting-certificates/permit.html
  4. In VS, go to 'Tools -> Options -> Tizen -> Certification':
    • Check 'Sign the .TPK file using the following option' and select 'Use profile of Tizen Certificate Manager'.
    • Make sure that Profile is set to your newly created certificate.
pbsamsung commented 4 years ago

You can find out the above steps here: https://developer.samsung.com/smarttv/develop/getting-started/setting-up-sdk/creating-certificates.html#creating-a-certificate-profile More about installing Tizen TV SDK is on https://developer.samsung.com/smarttv/develop/getting-started/setting-up-sdk/installing-tv-sdk.html Installation steps for Visual Studio Tools for Tizen has been described on this page: https://docs.tizen.org/application/vstools/install/

johnlu0907 commented 4 years ago

Thanks for your helping! it works for me.