Languages

Menu
Sites
Language
Deploy App to Gear S3

Hi,

I have Tizen Studio installed and my Gear S3 connected

I created a certificate profile in certificate manager whic now has Author Certificate Verified by Tizen Developers CA and Distributor Certificate verified by Tizen Public CA (I suppose I am good to build and run apps on my Gear S3 now?)

When I create a web app with started my first with a basic page and Run as Tizen Web App the following Error message pops up:

'Launching TAUBasic has encountered a problem.'

'Installing the package ....> Fail'

 

I looked at the log and the fail info below any ideas?

 

!ENTRY org.tizen.web.zimlaunch 4 0 2016-12-22 22:57:42.934
!MESSAGE Installing the package... > Fail
!STACK 0
org.tizen.web.zimlaunch.exception.TizenWebIDEException: Unexpected error occurred at the below step.
 `Installing the package...`
Please try again later.
    at org.tizen.web.zimlaunch.step.InstallStep.executeStep(InstallStep.java:148)
    at org.tizen.web.zimlaunch.core.CompositeStep.executeStep(CompositeStep.java:109)
    at org.tizen.web.zimlaunch.deployer.ZimLaunchDelegate.launch(ZimLaunchDelegate.java:298)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
    at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.eclipse.ui 4 0 2016-12-22 22:58:08.770
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.ClassCastException: org.eclipse.core.internal.resources.File cannot be cast to org.eclipse.core.resources.IProject
    at org.tizen.nativecore.build.NativeProjectTester.test(NativeProjectTester.java:38)
    at org.eclipse.core.internal.expressions.Property.test(Property.java:58)
    at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:100)
    at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
    at org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:199)
    at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
    at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:75)
    at org.eclipse.ui.internal.handlers.HandlerActivation.evaluate(HandlerActivation.java:113)
    at org.eclipse.ui.internal.handlers.LegacyHandlerService$HandlerSelectionFunction.compute(LegacyHandlerService.java:117)
    at org.eclipse.e4.core.internal.contexts.ValueComputation.get(ValueComputation.java:62)
    at org.eclipse.e4.core.internal.contexts.EclipseContext.internalGet(EclipseContext.java:247)
    at org.eclipse.e4.core.internal.contexts.EclipseContext.internalGet(EclipseContext.java:258)
    at org.eclipse.e4.core.internal.contexts.EclipseContext.internalGet(EclipseContext.java:258)
    at org.eclipse.e4.core.internal.contexts.EclipseContext.internalGet(EclipseContext.java:258)
    at org.eclipse.e4.core.internal.contexts.EclipseContext.get(EclipseContext.java:213)
    at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.lookUpHandler(HandlerServiceImpl.java:100)
    at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.setEnabled(HandlerServiceHandler.java:71)
    at org.eclipse.core.commands.Command.setEnabled(Command.java:875)
    at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.canExecute(HandlerServiceImpl.java:179)
    at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRendererFilter.updateElementVisibility(MenuManagerRendererFilter.java:217)
    at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerShowProcessor.showMenu(MenuManagerShowProcessor.java:230)
    at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerShowProcessor.menuAboutToHide(MenuManagerShowProcessor.java:110)
    at org.eclipse.jface.internal.MenuManagerEventHelper.showEventPostHelper(MenuManagerEventHelper.java:92)
    at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:467)
    at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:461)
    at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:493)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:255)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1116)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1140)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1121)
    at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:5044)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4712)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1676)
    at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2117)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:5050)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2544)
    at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:498)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4781)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1676)
    at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2117)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:5050)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2544)
    at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:498)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4781)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1676)
    at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2117)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:5050)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3767)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1515)

!ENTRY org.tizen.web.zimlaunch.step.InstallStep 4 0 2016-12-22 22:58:39.147
!MESSAGE [2016.12.22 22:58:39][ERROR] InstallStep.java(146) - Return Code:35)sdb command error exception


!ENTRY org.tizen.web.zimlaunch 4 0 2016-12-22 22:58:39.335
!MESSAGE Installing the package... > Fail
!STACK 0
org.tizen.web.zimlaunch.exception.TizenWebIDEException: Unexpected error occurred at the below step.
 `Installing the package...`
Please try again later.
    at org.tizen.web.zimlaunch.step.InstallStep.executeStep(InstallStep.java:148)
    at org.tizen.web.zimlaunch.core.CompositeStep.executeStep(CompositeStep.java:109)
    at org.tizen.web.zimlaunch.deployer.ZimLaunchDelegate.launch(ZimLaunchDelegate.java:298)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
    at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.tizen.web.zimlaunch.step.InstallStep 4 0 2016-12-22 23:00:32.071
!MESSAGE [2016.12.22 23:00:32][ERROR] InstallStep.java(146) - Return Code:35)sdb command error exception


!ENTRY org.tizen.web.zimlaunch 4 0 2016-12-22 23:00:32.181
!MESSAGE Installing the package... > Fail
!STACK 0
org.tizen.web.zimlaunch.exception.TizenWebIDEException: Unexpected error occurred at the below step.
 `Installing the package...`
Please try again later.
    at org.tizen.web.zimlaunch.step.InstallStep.executeStep(InstallStep.java:148)
    at org.tizen.web.zimlaunch.core.CompositeStep.executeStep(CompositeStep.java:109)
    at org.tizen.web.zimlaunch.deployer.ZimLaunchDelegate.launch(ZimLaunchDelegate.java:298)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
    at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.tizen.web.zimlaunch.step.InstallStep 4 0 2016-12-22 23:00:59.651
!MESSAGE [2016.12.22 23:00:59][ERROR] InstallStep.java(146) - Return Code:35)sdb command error exception


!ENTRY org.tizen.web.zimlaunch 4 0 2016-12-22 23:00:59.761
!MESSAGE Installing the package... > Fail
!STACK 0
org.tizen.web.zimlaunch.exception.TizenWebIDEException: Unexpected error occurred at the below step.
 `Installing the package...`
Please try again later.
    at org.tizen.web.zimlaunch.step.InstallStep.executeStep(InstallStep.java:148)
    at org.tizen.web.zimlaunch.core.CompositeStep.executeStep(CompositeStep.java:109)
    at org.tizen.web.zimlaunch.deployer.ZimLaunchDelegate.launch(ZimLaunchDelegate.java:298)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
    at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.tizen.web.zimlaunch.step.InstallStep 4 0 2016-12-22 23:18:40.131
!MESSAGE [2016.12.22 23:18:40][ERROR] InstallStep.java(146) - Return Code:35)sdb command error exception


!ENTRY org.tizen.web.zimlaunch 4 0 2016-12-22 23:18:40.240
!MESSAGE Installing the package... > Fail
!STACK 0
org.tizen.web.zimlaunch.exception.TizenWebIDEException: Unexpected error occurred at the below step.
 `Installing the package...`
Please try again later.
    at org.tizen.web.zimlaunch.step.InstallStep.executeStep(InstallStep.java:148)
    at org.tizen.web.zimlaunch.core.CompositeStep.executeStep(CompositeStep.java:109)
    at org.tizen.web.zimlaunch.deployer.ZimLaunchDelegate.launch(ZimLaunchDelegate.java:298)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
    at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

 

Responses

3 Replies
Armaan-Ul- Islam

Hello,

You may check this similar post here...

http://developer.samsung.com/forum/thread/problem-how-to-run-app-on-gear-s3/201/301245?boardName=SDK&startId=zzzzz~

And Right click on the device in device list and click "Permit to Install app".

Smith

Hi,

Thanks I have got all up and running now however.

I have created the basic UI app, build and run on the Gear S3.

The app installs but when I launch the application I get a black screen for a while then the following error message:

Webapge not available while retriveing webpage http://169.254.146.215:56790/index.html

This is an ethernet IP of my PC.

What do I need to change to make the app run on the Gear S3?

Thanks

Smith

Hi,

All working I did not know I had to build the package signed and SDB load to the device