语言

Menu
Sites
Language
Cannot run app on Gear S3 device - Page not available !!

Hi,

I have eventually got Tizen Studio up and running, certificate added and Gear S3 connected.

I have built the basic UI demo and 'Run As' on the Gear S3 it installs the BasicUI but when I open the app on the Gear S3 the screen goes black for a while then I recieve error:

'Page not available' while recieving webpage http://169.254.146.215:56790/index.html

I have found that '169.254.146.215' is a ethernet adpater IP on my PC.

What do I need to change to force the app to run off the watch and not try to connect to my PC?

Where in Tizen Studio do I go to make changes?

响应

2 回复
Armaan-Ul- Islam

Does the app runs okay on emulator or it shows the same error message?

 

By default Tizen web application launches by opening the page ‘index.html’ which is generally located on the root folder of the tizen web project. In your config.xml file you will find a line:

<content src="index.html"/>

Which commands the application to start from’ index.html ‘page. Make sure you didn’t renamed/deleted/moved the ‘index.html’ file.

And if you want to change the file/file location please also change in the code in config.xml also like:

 <content src="newFile.html"/>

Or in Tizen studio > config.xml > Click on Overview Tab > On field ‘Content’ click ‘Browse..’ and introduce the html file you want to load initially. Then Clean the project, Build and Run on device.

Smith

Hi,

Fixed, it was me.....I did not know that to run the app on Gear S3 you have to build signed package then SDB install to the Gear S3 to run the app locally on the watch.

Thank you for letting me know about the index.html and config.xml