Tip for Intel XDK v505: update source directory

Discussion and feedback on Construct 2

Post » Sun Mar 09, 2014 2:41 pm

I've recently switched from using CocoonJS to IntelXDK for exporting to Android, convinced by Ashley's posts
https://www.scirra.com/blog/133/introducing-crosswalk-the-new-way-to-publish-to-android
and
https://www.scirra.com/tutorials/809/how-to-export-to-android-with-crosswalk

I did get stuck for a while, trying to preview with the Intel XDK emulator gave me an "endless white screen" and didn't load my project at all. In the Intel XDK forums, others seemed to be having a similar issue after the update to version 505. The fix was obvious in retrospect (as many fixes are?): when a new project is created, the Intel XDK creates an index.html file in a directory called "www"; the default settings use this as the source directory. To fix this: after exporting your Construct2 project, in the Intel XDK window, click the "XDK Projects" icon/text in the top-left of the window, and change the source directory so that it uses the directory that contains the index.html file generated by Construct2 instead.

Just thought I'd share this story here in case anyone else ran into similar difficulties.
B
63
S
23
G
14
Posts: 52
Reputation: 19,835

Post » Sun Mar 09, 2014 3:32 pm

Do you by any chance create a blank projekt in the beginning?

Because if you don't and start with the import right away, nothing extra gets created in 505.
B
78
S
28
G
32
Posts: 481
Reputation: 19,788

Post » Wed Mar 12, 2014 1:50 pm

hi,

I just switch to intel xdk too, but after the white screen you've got, :) I use "import an existing app" instead create blankk to solve the problem.

now i have a black screen on my devices (iphone4 and ipad)
the emulate works ok, but not the test on devices..

i've just create a new project on C2 with just an image to try...
i can see the intel demo on my devices but not the construct project...

any one can tel me how to make this works?

thx
B
5
Posts: 19
Reputation: 313

Post » Sun Mar 16, 2014 7:31 am

guys after updating from version 240 (i think) to the newest 505 i cant open xdk. It crashes. "xdk encountered a problem and must restart".
ive check my java version is up to date. im running w7 64bit
B
18
S
3
G
1
Posts: 248
Reputation: 2,353


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 16 guests