Software Archive
Read-only legacy content
17061 Discussions

App Designer not loading

Tony_T_
Beginner
610 Views

intel xdk 3522

windows 10

android build

The app designer starts to open. Can see in background list of pages, view of mainpage, list of custom scripts and partial list of controls.

In middle of screen is dialog "Loading...". This dialog never closes  Any suggestion on getting by this problem.

 

0 Kudos
4 Replies
PaulF_IntelCorp
Employee
610 Views

I've asked one of our App Designer experts to help you out.

0 Kudos
Chris_P_Intel
Employee
610 Views

My best guess is something in the HTML or perhaps the Less is no longer valid. But it's only a guess.

Can you .zip up your project and post it?

0 Kudos
Tony_T_
Beginner
610 Views

Follow up:

For some reason I cannot remember what I was trying to accomplish at the time but I inserted this line of code in index.html

-----------------------------

 <meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self'

'unsafe-inline' 'unsafe-eval'"> 

----------------------------------

replacing this line of code.

----------------------------------

<meta http-equiv="Content-type" content="text/html; charset=utf-8">

------------------------------------

Once I went back to original code app designer started working again. I did it more than once to make sure that created and removed the problem

 

 

0 Kudos
PaulF_IntelCorp
Employee
610 Views

This tag in your index.html file:

<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'">

is not meant to replace this line:

<meta http-equiv="Content-type" content="text/html; charset=utf-8">

It is an additional line that you should include in your index.html <head> block to control the CSP rules that control some security rules associated with your app. See this doc page > https://software.intel.com/en-us/xdk/docs/using-cordova-whitelist-rules-with-intel-xdk <

0 Kudos
Reply