언어 설정

Menu
Sites
Language
Tizen TV web app jquery.min.js not found error

I have downloaded Tizen IDE 2.4 and tv emulator. I created a project using new project -> online samples -> System Info I ran the app using run as ->Tizen web simulator application (samsung TV) and the emulator launched. But in the web inspector tool I can see the following errors:

GET file:///C:/Users/abhilashk/TizenTV_workspace/SystemInfo/tizen-web-ui-fw/latest/js/tizen-web-ui-fw-libs.min.js net::ERR_FILE_NOT_FOUND index.html:12

GET file:///C:/Users/abhilashk/TizenTV_workspace/SystemInfo/tizen-web-ui-fw/latest/js/tizen-web-ui-fw.min.js net::ERR_FILE_NOT_FOUND

I checked and these files are not present there. I was expecting the files to be downloaded when I created the project. I downloaded the project from online samples.

I am new to tv apps. So please guide me. I can't find any helpful tutorials to learn the basics.

Edited by: Abhilash Kankokkaran on 17 10월, 2016

Responses

5 댓글
Armaan-Ul- Islam

Hello,

If possible please share the index.html file of your application. At least the portion including line 12. (Where the error is marked: index.html:12 )

Abhilash Kankokkaran

error is coming because the corresponding js file is not present.

My Questions id, I have downloaded the sample app from tizen IDE itself. So I was expecting all dependency js files to be present.

please find the code below :

 

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <meta name="description" content="System info API Tutorial"/>
    <title>System info</title>
    <script src="tizen-web-ui-fw/latest/js/jquery.min.js"></script>
    <script src="./js/config.js"></script>
    <script src="tizen-web-ui-fw/latest/js/tizen-web-ui-fw-libs.min.js"></script>
    <script src="tizen-web-ui-fw/latest/js/tizen-web-ui-fw.min.js"
            data-framework-viewport-scale="false"
            data-framework-theme="tizen-white"></script>
    
    <script type="text/javascript" src="./lib/TVKeyValue.js"></script>
    <script type="text/javascript" src="./js/main.js"></script>
    <link rel="stylesheet" type="text/css" href="./css/style.css"/>
</head>

Armaan-Ul- Islam

I've downloaded the online Sample 'SystemInfo' ,but not having such issue. Please check this link:

https://developer.tizen.org/development/sample/web/System/SystemInfo/prj_list_

And copy the index.html file text to your index.html, if necessary then other js,css.... files also.

Thank You.

Abhilash Kankokkaran

I'm able to run using the above code and it works properly.

When I run in latest Tizen Studio also i get same above errors.

So my doubt is whether we can download these js libraries from somehwere and keep it locally to fix the issue ?

 

Abhilash Kankokkaran

I was able to fix the issue by downloading the js library files and keeping it in local folder.

thanks