Loading app with CocoonJS Launcher

Get help using Construct 2

Post » Mon Oct 21, 2013 6:59 pm

I just not got CocoonJS Launcher on my android tablet.

I push my zip file of the app to the sdcard. When I open the app however I encounter a black page and an error in the error log:

"Could not find anything to be executed. If you are using a ZIP file, please, verify that the main HTML or JS file is in the root of the ZIP file (not inside any folder). If you are using a folder path directly, please, check that the main HTML or JS file is stored inside of it."

I have index.html in the root directory. I don't understand what could be going wrong or what is causing this
B
2
Posts: 4
Reputation: 158

Post » Mon Oct 21, 2013 9:07 pm

Did you exported your project with CocoonJS?
B
21
S
8
G
7
Posts: 49
Reputation: 5,274

Post » Mon Oct 21, 2013 9:42 pm

What do you mean?

I zipped my file, adb pushed into to the sdcard, and it shows up on "Your App" list on CocoonJS.

Please help.
B
2
Posts: 4
Reputation: 158

Post » Mon Oct 21, 2013 9:52 pm

@hotsauce
You have to export your project with CocoonJS (Export project... -> CocoonJS), then open the folder exported and you will have the zip file.
B
21
S
8
G
7
Posts: 49
Reputation: 5,274

Post » Mon Oct 21, 2013 10:11 pm

I'm doing this from Eclipse and it doesn't have that Do you have any idea how to go about it from Eclipse?

And must the project be exported using CocoonJS anyway? (I haven't been able to find good documentation of all this )
B
2
Posts: 4
Reputation: 158

Post » Mon Oct 21, 2013 11:10 pm

What? You are not using Construct2? Well... I don't know how to export the zip from Eclipse...

But if I'm not mistaken... if your project is from Eclipse, you can export directly an APK, can't you?
B
21
S
8
G
7
Posts: 49
Reputation: 5,274

Post » Mon Oct 21, 2013 11:10 pm

Doing it from Eclipse? O_O Are you using Construct 2 at all?
B
47
S
14
G
7
Posts: 603
Reputation: 8,141

Post » Wed Oct 23, 2013 4:24 pm

@seasky It doesn't have and export as APK option. But I thought cocoonjs doesn't require it to be an apk file....?
B
2
Posts: 4
Reputation: 158

Post » Wed Oct 23, 2013 6:58 pm

@hotsauce
To export an apk from eclipse watch this video: How to export APK file from eclipse

The CocoonJS Launcher app is to test your project before compile it to an APK, and the Construct 2 can export the game as a zip file specifically for CocoonJS.
B
21
S
8
G
7
Posts: 49
Reputation: 5,274

Post » Wed Oct 23, 2013 7:23 pm

Eclipe? Why?
Are you using Construct 2?
Can you explain, in the first place, why are you using Eclipse?GamerGon2013-10-23 19:23:51
Lead developer at Octeto Studios
Visit our portfolio at: http://www.octetostudios.com/ :)
Facebook || Twitter || Youtube
B
37
S
7
G
5
Posts: 217
Reputation: 5,614

Next

Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 23 guests