Installing debug package on TV from IDE fails

After updating the Tizen IDE to 3.6 launching a debug of the application on the TV no longer works.

Console:

Launching the Tizen application…
# If you want to see the detailed information,
#please set the logging level to DEBUG in Preferences and check the log file in ‘/Users/Leon/tizen-studio-data.2/ide/logs/ide-20200130_102041.log’.
[Initializing the launch environment…]
RDS: Off
Target information: HG43NJ690U
Application information: Id(hR1MPK64Er.AnalogWatch), Package Name(hR1MPK64Er), Project Name(AnalogWatch)
[Transferring the package…]
Transferred the package: wgt stream -> /home/owner/share/tmp/sdk_tools/tmp/AnalogWatch.wgt
[Installing the package…]
install hR1MPK64Er.AnalogWatch
package_path /home/owner/share/tmp/sdk_tools/tmp/AnalogWatch.wgt
was_install_app return WAS_TRUE
app_id[hR1MPK64Er.AnalogWatch] install start
app_id[hR1MPK64Er.AnalogWatch] installing[7]
app_id[hR1MPK64Er.AnalogWatch] installing[10]
app_id[hR1MPK64Er.AnalogWatch] installing[13]
app_id[hR1MPK64Er.AnalogWatch] installing[15]
app_id[hR1MPK64Er.AnalogWatch] installing[18]
app_id[hR1MPK64Er.AnalogWatch] installing[21]
app_id[hR1MPK64Er.AnalogWatch] installing[23]
app_id[hR1MPK64Er.AnalogWatch] install failed[118012]
spend time for wascmd is [781]ms
cmd_ret:0
An exception occurred
(Installing the package… > Fail)
An exception occurred
Unexpected stop progress…
(4.126 sec)

ide log:

[2020.01.30 10:20:48][ERROR] AbstractLibraryLocation.java(111) - /Users/Leon/tizen-studio/platforms/tizen-3.0/tv-samsung/widlprocxmls/tizen.widlprocxml (No such file or directory)
java.io.FileNotFoundException: /Users/Leon/tizen-studio/platforms/tizen-3.0/tv-samsung/widlprocxmls/tizen.widlprocxml (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at org.tizen.web.project.initializer.AbstractLibraryLocation.getDocument(AbstractLibraryLocation.java:141)
at org.tizen.web.project.initializer.AbstractLibraryLocation.convertXmlToJs(AbstractLibraryLocation.java:97)
at org.tizen.web.project.initializer.AbstractLibraryLocation.(AbstractLibraryLocation.java:83)
at org.tizen.web.project.initializer.TizenLibraryInitializer$TizenLibraryLocation.(TizenLibraryInitializer.java:63)
at org.tizen.web.project.initializer.TizenLibraryInitializer$TizenLibraryLocation.getInstance(TizenLibraryInitializer.java:76)
at org.tizen.web.project.initializer.TizenLibraryInitializer.getLibraryLocation(TizenLibraryInitializer.java:96)
at org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer.getIncludepathEntries(JsGlobalScopeContainerInitializer.java:181)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager.containerPutIfInitializingWithSameEntries(JavaModelManager.java:589)
at org.eclipse.wst.jsdt.internal.core.SetContainerOperation.execute(SetContainerOperation.java:54)
at org.eclipse.wst.jsdt.core.JavaScriptCore.setJsGlobalScopeContainer(JavaScriptCore.java:3924)
at org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer.initialize(JsGlobalScopeContainerInitializer.java:85)
at org.tizen.web.project.initializer.AbstractLibraryInitializer.initialize(AbstractLibraryInitializer.java:19)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2216)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager$6.run(JavaModelManager.java:2146)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2295)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2322)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2162)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager.getJsGlobalScopeContainer(JavaModelManager.java:1536)
at org.eclipse.wst.jsdt.core.JavaScriptCore.getJsGlobalScopeContainer(JavaScriptCore.java:1342)
at org.eclipse.wst.jsdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2747)
at org.eclipse.wst.jsdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2026)
at org.eclipse.wst.jsdt.core.JavaScriptCore.initializeAfterLoad(JavaScriptCore.java:2678)
at org.eclipse.wst.jsdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:32)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
[2020.01.30 10:20:50][ERROR] AbstractLibraryLocation.java(111) - /Users/Leon/tizen-studio/platforms/tizen-3.0/tv-samsung/widlprocxmls/w3cwidget.widlprocxml (No such file or directory)
java.io.FileNotFoundException: /Users/Leon/tizen-studio/platforms/tizen-3.0/tv-samsung/widlprocxmls/w3cwidget.widlprocxml (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at org.tizen.web.project.initializer.AbstractLibraryLocation.getDocument(AbstractLibraryLocation.java:141)
at org.tizen.web.project.initializer.AbstractLibraryLocation.convertXmlToJs(AbstractLibraryLocation.java:97)
at org.tizen.web.project.initializer.AbstractLibraryLocation.(AbstractLibraryLocation.java:83)
at org.tizen.web.project.initializer.W3CLibraryInitializer$W3CLibraryLocation.(W3CLibraryInitializer.java:62)
at org.tizen.web.project.initializer.W3CLibraryInitializer$W3CLibraryLocation.getInstance(W3CLibraryInitializer.java:75)
at org.tizen.web.project.initializer.W3CLibraryInitializer.getLibraryLocation(W3CLibraryInitializer.java:95)
at org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer.getIncludepathEntries(JsGlobalScopeContainerInitializer.java:181)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager.containerPutIfInitializingWithSameEntries(JavaModelManager.java:589)
at org.eclipse.wst.jsdt.internal.core.SetContainerOperation.execute(SetContainerOperation.java:54)
at org.eclipse.wst.jsdt.core.JavaScriptCore.setJsGlobalScopeContainer(JavaScriptCore.java:3924)
at org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer.initialize(JsGlobalScopeContainerInitializer.java:85)
at org.tizen.web.project.initializer.AbstractLibraryInitializer.initialize(AbstractLibraryInitializer.java:19)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2216)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager$6.run(JavaModelManager.java:2146)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2295)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2322)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2162)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager.getJsGlobalScopeContainer(JavaModelManager.java:1536)
at org.eclipse.wst.jsdt.core.JavaScriptCore.getJsGlobalScopeContainer(JavaScriptCore.java:1342)
at org.eclipse.wst.jsdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2747)
at org.eclipse.wst.jsdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2026)
at org.eclipse.wst.jsdt.core.JavaScriptCore.initializeAfterLoad(JavaScriptCore.java:2678)
at org.eclipse.wst.jsdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:32)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
[2020.01.30 10:20:51][ERROR] AbstractLibraryLocation.java(111) - /Users/Leon/tizen-studio/platforms/tizen-3.0/tv-samsung/widlprocxmls/html5.widlprocxml (No such file or directory)
java.io.FileNotFoundException: /Users/Leon/tizen-studio/platforms/tizen-3.0/tv-samsung/widlprocxmls/html5.widlprocxml (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at org.tizen.web.project.initializer.AbstractLibraryLocation.getDocument(AbstractLibraryLocation.java:141)
at org.tizen.web.project.initializer.AbstractLibraryLocation.convertXmlToJs(AbstractLibraryLocation.java:97)
at org.tizen.web.project.initializer.AbstractLibraryLocation.(AbstractLibraryLocation.java:83)
at org.tizen.web.project.initializer.HTML5LibraryInitializer$HTML5LibraryLocation.(HTML5LibraryInitializer.java:62)
at org.tizen.web.project.initializer.HTML5LibraryInitializer$HTML5LibraryLocation.getInstance(HTML5LibraryInitializer.java:75)
at org.tizen.web.project.initializer.HTML5LibraryInitializer.getLibraryLocation(HTML5LibraryInitializer.java:95)
at org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer.getIncludepathEntries(JsGlobalScopeContainerInitializer.java:181)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager.containerPutIfInitializingWithSameEntries(JavaModelManager.java:589)
at org.eclipse.wst.jsdt.internal.core.SetContainerOperation.execute(SetContainerOperation.java:54)
at org.eclipse.wst.jsdt.core.JavaScriptCore.setJsGlobalScopeContainer(JavaScriptCore.java:3924)
at org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer.initialize(JsGlobalScopeContainerInitializer.java:85)
at org.tizen.web.project.initializer.AbstractLibraryInitializer.initialize(AbstractLibraryInitializer.java:19)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2216)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager$6.run(JavaModelManager.java:2146)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2295)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2322)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2162)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager.getJsGlobalScopeContainer(JavaModelManager.java:1536)
at org.eclipse.wst.jsdt.core.JavaScriptCore.getJsGlobalScopeContainer(JavaScriptCore.java:1342)
at org.eclipse.wst.jsdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2747)
at org.eclipse.wst.jsdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2026)
at org.eclipse.wst.jsdt.core.JavaScriptCore.initializeAfterLoad(JavaScriptCore.java:2678)
at org.eclipse.wst.jsdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:32)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
[2020.01.30 10:21:11][ERROR] SchemaBasedValidator.java(117) - Invalid file or path: /schemas/widgets.xsd
[2020.01.30 10:21:23][ERROR] InstallStep.java(176) - Return Code:1010)Tizen Web Application install failed.

sbdlib log:

10:21:21 E/sdb: sdb rejected shell command (0 list_showcontrol “/”): closed
10:21:21 E/sdb: excute doLS failed:org.tizen.sdblib.exception.SdbCommandRejectedException: closed
10:21:21 E/sdb: sdb rejected shell command (0 list_showcontrol “/home”): closed
10:21:21 E/sdb: excute doLS failed:org.tizen.sdblib.exception.SdbCommandRejectedException: closed
10:21:21 E/sdb: sdb rejected shell command (0 list_showcontrol “/home/owner”): closed
10:21:21 E/sdb: excute doLS failed:org.tizen.sdblib.exception.SdbCommandRejectedException: closed
10:21:21 E/sdb: sdb rejected shell command (0 list_showcontrol “/home/owner/share”): closed
10:21:21 E/sdb: excute doLS failed:org.tizen.sdblib.exception.SdbCommandRejectedException: closed
10:21:21 E/sdb: sdb rejected shell command (0 list_showcontrol “/home/owner/share/tmp”): closed
10:21:21 E/sdb: excute doLS failed:org.tizen.sdblib.exception.SdbCommandRejectedException: closed
10:21:21 E/sdb: sdb rejected shell command (0 list_showcontrol “/home/owner/share/tmp/sdk_tools”): closed
10:21:21 E/sdb: excute doLS failed:org.tizen.sdblib.exception.SdbCommandRejectedException: closed
10:21:21 E/sdb: sdb rejected shell command (0 list_showcontrol “/home/owner/share/tmp/sdk_tools/tmp”): closed
10:21:21 E/sdb: excute doLS failed:org.tizen.sdblib.exception.SdbCommandRejectedException: closed
10:21:21 E/sdb: sdb rejected shell command (0 list_showcontrol “/”): closed
10:21:21 E/sdb: excute doLS failed:org.tizen.sdblib.exception.SdbCommandRejectedException: closed
10:21:21 E/sdb: sdb rejected shell command (0 list_showcontrol “/home”): closed
10:21:21 E/sdb: excute doLS failed:org.tizen.sdblib.exception.SdbCommandRejectedException: closed
10:21:21 E/sdb: sdb rejected shell command (0 list_showcontrol “/home/owner”): closed
10:21:21 E/sdb: excute doLS failed:org.tizen.sdblib.exception.SdbCommandRejectedException: closed
10:21:21 E/sdb: sdb rejected shell command (0 list_showcontrol “/home/owner/share”): closed
10:21:21 E/sdb: excute doLS failed:org.tizen.sdblib.exception.SdbCommandRejectedException: closed
10:21:21 E/sdb: sdb rejected shell command (0 list_showcontrol “/home/owner/share/tmp”): closed
10:21:21 E/sdb: excute doLS failed:org.tizen.sdblib.exception.SdbCommandRejectedException: closed
10:21:21 E/sdb: sdb rejected shell command (0 list_showcontrol “/home/owner/share/tmp/sdk_tools”): closed
10:21:21 E/sdb: excute doLS failed:org.tizen.sdblib.exception.SdbCommandRejectedException: closed
10:21:21 E/sdb: sdb rejected shell command (0 list_showcontrol “/home/owner/share/tmp/sdk_tools/tmp”): closed
10:21:21 E/sdb: excute doLS failed:org.tizen.sdblib.exception.SdbCommandRejectedException: closed

I have these exact same logs - did you find a solution?

I uninstalled studio and reinstalled 3.0. You can find older SDK versions here: https://download.tizen.org/sdk/Installer.

Thanks for the update. I was reviewing this because you have it working now. For others, I noticed that users that updated from Tizen 3.0 to Tizen 3.6 did not have the same issues as those that started with Tizen 3.6 as a fresh install. I also noticed that there were Java version issues with 3.6 that may not have been there with 3.0 especially with device manager and emulator manager. Using Java 8 SE seems to be the best option and do no use Java 11 or newer they aren’t compatible with the Eclipse IDE.

Let me know if you still have an issue connecting to the TV. There are some issues with privacy updates that may be a reason for not connecting.

Ron
Samsung Developer Program

hi Ron,
I am facing with this issue. I cannot run my app in the Samsung Smart TV. Could you provide any solutions for this ?
FYI, I am working on purchase and seems it not work on simulator.

HungNguyen

Almost always when it won’t run on the TV the problem is that the developer used a Tizen Distributor Certificate instead of a Samsung distributor certificate., You can only run on Samsung TVs with a Samsung distributor certificate. Create a new Certificate Profile and use create a Samsung Distributor Certificate.

I assume you have debugging turned on and have the correct Tizen version. Note for Older model Smart TVs there is different means to turn debugging on.

Ron
Samsung Developer Program

Where to download TIZEN studio 3.0?

The current version of Tizen Studio is 3.7 you can download that HERE
Do you need the Tizen 3.0 for some specific purpose? It is no longer supported.

If you want the extensions for legacy platforms you can get them HERE

Ron
Samsung Developer Program

i have the same issue using fresh install of tizen studio 4.1 on a macOS. i opened a different ticket at Can't install samsung tv app from IDE, but can from CLI | Tizen Developers

Hi,
I downloaded the lastest sdk(4.5.1 version) from https://developer.tizen.org/
It was released on Dec, 21.

  1. It works on big sur os
  2. I can make a Samsung certificate via certificate manager.
    I saw the above comments.
    To install the app on the samsung tv, a Samsung certificate is needed.
    Thanks.