However, if i attempt to do a run as.. or debug as.. using the IDE, the console gives me this error (note; the uninstall seems to work, as it uninstalls what i previously installed using command line… that part is left out if the app is already uninstalled)
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/gaiaapps/tizen-studio-data/ide/logs/ide-20210428_135356.log'.
[Initializing the launch environment...]
RDS: Off
Target information: UN40MUXXXX
Application information: Id(xxx.xxx), Package Name(xxx), Project Name(xx)
[Transferring the package...]
Transferred the package: wgt stream -> /home/owner/share/tmp/sdk_tools/tmp/Gaia.wgt
[Uninstalling the package...]
uninstall xxx.x
app_id[xxx.xxx] uninstall start
app_id[xxx.xxx] uninstalling[5]
app_id[xxx.xxx] uninstalling[10]
app_id[xxx.xxx] uninstalling[15]
app_id[xxx.xxx] uninstalling[20]
app_id[xxx.xxx] uninstalling[25]
app_id[xxx.xxx] uninstalling[30]
app_id[xxx.xxx] uninstalling[35]
app_id[xxx.xxx] uninstalling[40]
app_id[xxx.xxx] uninstalling[45]
app_id[xxx.xxx] uninstalling[50]
app_id[xxx.xxx] uninstalling[55]
app_id[xxx.xxx] uninstalling[60]
app_id[xxx.xxx] uninstalling[65]
app_id[xxx.xxx] uninstalling[70]
app_id[xxx.xxx] uninstalling[75]
app_id[xxx.xxx] uninstalling[80]
app_id[xxx.xxx] uninstalling[85]
app_id[xxx.xxx] uninstalling[90]
app_id[xxx.xxx] uninstalling[95]
app_id[xxx.xxx] uninstalling[100]
app_id[xxx.xxx] uninstall completed
spend time for wascmd is [1466]ms
cmd_ret:0
Uninstalled the package: Id(xxx.xxx)
[Uninstalling the package...]
Uninstalling the package... > Success
[Installing the package...]
install xxx.xxx
package_path /home/owner/share/tmp/sdk_tools/tmp/Gaia.wgt
was_install_app return WAS_TRUE
app_id[xxx.xxx] install start
app_id[xxx.xxx] installing[8]
app_id[xxx.xxx] installing[11]
app_id[xxx.xxx] installing[14]
app_id[xxx.xxx] installing[17]
app_id[xxx.xxx] installing[20]
app_id[xxx.xxx] installing[22]
app_id[xxx.xxx] install failed[118]
spend time for wascmd is [839]ms
cmd_ret:0
An exception occurred
(Installing the package... > Fail)
An exception occurred
Unexpected stop progress...
(5.181 sec)
My primary goal is to be able to attach a web debugger and debug the app. It would be nice if i could do this via CLI, but i don’t see a way to do it, so i use the IDE, but the IDE does not seem to be able to install apps, even though it installs fine using the CLI on the same box.
checking the ide log shows this
[2021.05.03 15:09:03][ERROR] AbstractLibraryLocation.java(111) - /Users/xxx/tizen-studio/platforms/tizen-3.0/tv-samsung/widlprocxmls/tizen.widlprocxml (No such file or directory)
java.io.FileNotFoundException: /Users/xxx/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.<init>(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.<init>(AbstractLibraryLocation.java:83)
at org.tizen.web.project.initializer.TizenLibraryInitializer$TizenLibraryLocation.<init>(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:2240)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
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:56)
[2021.05.03 15:09:05][ERROR] AbstractLibraryLocation.java(111) - /Users/xxx/tizen-studio/platforms/tizen-3.0/tv-samsung/widlprocxmls/w3cwidget.widlprocxml (No such file or directory)
java.io.FileNotFoundException: /Users/xxx/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.<init>(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.<init>(AbstractLibraryLocation.java:83)
at org.tizen.web.project.initializer.W3CLibraryInitializer$W3CLibraryLocation.<init>(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:2240)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
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:56)
[2021.05.03 15:09:05][ERROR] AbstractLibraryLocation.java(111) - /Users/xxx/tizen-studio/platforms/tizen-3.0/tv-samsung/widlprocxmls/html5.widlprocxml (No such file or directory)
java.io.FileNotFoundException: /Users/xxx/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.<init>(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.<init>(AbstractLibraryLocation.java:83)
at org.tizen.web.project.initializer.HTML5LibraryInitializer$HTML5LibraryLocation.<init>(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:2240)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
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:56)
[2021.05.03 15:09:09][ERROR] SchemaBasedValidator.java(117) - Invalid file or path: /schemas/widgets.xsd
[2021.05.03 15:09:22][ERROR] PrivilegeCheckUtil.java(245) - Faild to parse "/Gaia/bundle.js"
[2021.05.03 15:09:29][ERROR] InstallStep.java(176) - Return Code:1010)Tizen Web Application install failed.
note: only product.widlprocxml exists in that folder
the tizen.widlprocxml exists only under /tv/ not /tv-samsung/
I saw this issue on the forum /installing-debug-package-on-tv-from-ide-fails/580/6
Which seems pretty similar, but note
– I still get the error after a fresh install using Tizen Studio 4.1
– the tv has been setup properly with the proper certificates and debug, and i assume this would need to be the case for it to work from CLI, which it does
Can’t install samsung tv app from IDE, but can from CLI
Hi, I am experiencing this issue on two different macOS boxes.
I am able to install and run my application using the CLI tools, issuing commands like this:
However, if i attempt to do a run as.. or debug as.. using the IDE, the console gives me this error (note; the uninstall seems to work, as it uninstalls what i previously installed using command line… that part is left out if the app is already uninstalled)
My primary goal is to be able to attach a web debugger and debug the app. It would be nice if i could do this via CLI, but i don’t see a way to do it, so i use the IDE, but the IDE does not seem to be able to install apps, even though it installs fine using the CLI on the same box.
checking the ide log shows this
note: only product.widlprocxml exists in that folder
the tizen.widlprocxml exists only under /tv/ not /tv-samsung/
The sdblib log looks like this
I saw this issue on the forum /installing-debug-package-on-tv-from-ide-fails/580/6
Which seems pretty similar, but note
– I still get the error after a fresh install using Tizen Studio 4.1
– the tv has been setup properly with the proper certificates and debug, and i assume this would need to be the case for it to work from CLI, which it does
– i have tv extensions 6.0 installed
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio