Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to debug on TV model 2018? #290

Open
phuongnam0907 opened this issue Jul 31, 2021 · 3 comments
Open

How to debug on TV model 2018? #290

phuongnam0907 opened this issue Jul 31, 2021 · 3 comments

Comments

@phuongnam0907
Copy link

I have a TV with platform tv-samsung-4.0, hospitalbility TV
I use C# on visual studio 2019, when I debug (start without debugging), nothing happen.
When I see the command line, the "sdb shell" not working.

So how can I debug on Smart TV model 2018?
By the way, can it run the .Net application?

@nghuyy
Copy link

nghuyy commented Jul 31, 2021

https://developer.samsung.com/smarttv/develop/specifications/general-specifications.html
I think, your tv running tizen 4.0. You can follow this link to enable sdb from tv
https://stackoverflow.com/questions/33329781/connecting-to-tizen-tv-via-the-tizen-ide-or-sdb

before, you can test your app on emulator:
https://docs.tizen.org/application/dotnet/get-started/tv/first-app/#deploy-and-run-your-application
or deploy and install .tpk on yout tv

BTW: i'm using vs2017, vs2019 can't create signed package tpk

@phuongnam0907
Copy link
Author

https://developer.samsung.com/smarttv/develop/specifications/general-specifications.html
I think, your tv running tizen 4.0. You can follow this link to enable sdb from tv
https://stackoverflow.com/questions/33329781/connecting-to-tizen-tv-via-the-tizen-ide-or-sdb

before, you can test your app on emulator:
https://docs.tizen.org/application/dotnet/get-started/tv/first-app/#deploy-and-run-your-application
or deploy and install .tpk on yout tv

BTW: i'm using vs2017, vs2019 can't create signed package tpk

I follow your it, but nothing working.
When I use Tizen Studio, it's working (Javascript, .wgt package).
But using C# on v2019 or vs2017 (.tpk package), it has error:

7/27/2021 11:15:27 AM : Start Device Monitor...
SetIsXamlProject : False
7/27/2021 11:15:27 AM : Device monitor started.
7/27/2021 11:16:41 AM : Device attach/detach detected.
7/27/2021 11:17:28 AM : <<< Start without debugging "org.tizen.example.STVXamarinApplication1.Tizen.TV" (secure protocol) >>>
7/27/2021 11:17:28 AM : Try to terminate running application: org.tizen.example.STVXamarinApplication1.Tizen.TV
7/27/2021 11:17:28 AM : No application to be terminated: 255
WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
pushed org.tizen.example.STVXamarinApplication1.Tizen.TV-1.0.0.tpk 0% 0KB 0KB/s
pushed org.tizen.example.STVXamarinApplication1.Tizen.TV-1.0.0.tpk 100% 383KB 0KB/s
1 file(s) pushed. 0 file(s) skipped.
C:\Nam\Outsource Projects\SamsungTV\projects\STVXamarinApplication1\STVXamarinApplication1\STVXamarinApplication1.Tizen.TV\bin\Debug\tizen40\org.tizen.example.STVXamarinApplication1.Tizen.TV-1.0.0.tpk 1782KB/s (392515 bytes in 0.215s)
path is /home/owner/share/tmp/sdk_tools/org.tizen.example.STVXamarinApplication1.Tizen.TV-1.0.0.tpk
spend time for pkgcmd is [1505]ms
7/27/2021 11:17:30 AM : Try to launch application: org.tizen.example.STVXamarinApplication1.Tizen.TV
7/27/2021 11:17:30 AM : Application launched.
7/27/2021 11:18:36 AM : <<< Start without debugging "org.tizen.example.STVXamarinApplication1.Tizen.TV" (secure protocol) >>>
7/27/2021 11:18:36 AM : Try to terminate running application: org.tizen.example.STVXamarinApplication1.Tizen.TV
7/27/2021 11:18:36 AM : Application is not running: 1
7/27/2021 11:18:36 AM : Try to launch application: org.tizen.example.STVXamarinApplication1.Tizen.TV
7/27/2021 11:18:36 AM : Application launched.
7/27/2021 11:24:47 AM : <<< Start debugging "org.tizen.example.STVXamarinApplication1.Tizen.TV" (secure protocol) >>>
7/27/2021 11:24:47 AM : Try to terminate running application: org.tizen.example.STVXamarinApplication1.Tizen.TV
7/27/2021 11:24:47 AM : Application is not running: 1
Check package failed for "lldb-tv" (secure). Cannot parse package version "none"
Pushed "C:\Nam\tizen-sdk\platforms\tizen-4.0\common\on-demand\signature-3.8.1-armv7l" to "/home/owner/share/tmp/sdk_tools/on-demand/signature"
Pushed "C:\Nam\tizen-sdk\platforms\tizen-4.0\common\on-demand\lldb-tv-3.8.1-armv7l.tar.gz" to "/home/owner/share/tmp/sdk_tools/on-demand/lldb.tar.gz"
Successfully installed "/home/owner/share/tmp/sdk_tools/on-demand/lldb.tar.gz"
7/27/2021 11:25:00 AM : Launching org.tizen.example.STVXamarinApplication1.Tizen.TV
7/27/2021 11:25:00 AM : ... successfully launched
7/27/2021 11:28:38 AM : <<< Start without debugging "org.tizen.example.STVXamarinApplication1.Tizen.TV" (secure protocol) >>>
7/27/2021 11:28:38 AM : Try to terminate running application: org.tizen.example.STVXamarinApplication1.Tizen.TV
7/27/2021 11:28:38 AM : Application is not running: 1
7/27/2021 11:28:39 AM : Try to launch application: org.tizen.example.STVXamarinApplication1.Tizen.TV
7/27/2021 11:28:39 AM : Application launched.

@sgchoi5
Copy link
Contributor

sgchoi5 commented Sep 16, 2021

I think.. you can find some information from this page:
https://developer.samsung.com/smarttv/develop/tizen-net-tv/getting-started/creating-net-tv-applications.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants