Android Export

Discussion and feedback on Construct 2

Post » Fri Jan 17, 2014 7:09 pm

We are trying to export a project made on construct 2 to Android. But in result we get a index.html and the resources to game work, as javascript or css. This software cannot compile a .apk?

we tryed to use IBM Worklight, but it doesn't work either.
B
12
S
3
G
1
Posts: 188
Reputation: 1,377

Post » Fri Jan 17, 2014 7:42 pm

You need to use a wrapper. CocoonJS, Crosswalk, Phonegap to name a few.
B
101
S
32
G
11
Posts: 1,552
Reputation: 21,667

Post » Fri Jan 17, 2014 7:44 pm

*Edit: whoops, too slow.

Check the "How to export to Android with Crosswalk"-Tutorial.

Construct2 itself does not create APKs. You have to use the Intel XDK for that (using the Crosswalk option in the aforementioned tutorial) or use Cocoonjs.Eisenhans2014-01-17 19:44:51
B
73
S
28
G
32
Posts: 479
Reputation: 19,669

Post » Fri Jan 17, 2014 9:27 pm

Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,684

Post » Sat Jan 18, 2014 12:25 pm

I think Scrirra shouldn't have tagged the Crosswalk export as "Android" (as Cocoonjs export is called "CocoonJS" indeed) This can lead to some confusion.
B
12
S
2
Posts: 21
Reputation: 692

Post » Sat Jan 18, 2014 6:18 pm

@vitorfgd You really need to take some time to read the manual and do some tutorials. Also searching on the forums would have given you a few hundred answers as well.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,583

Post » Sat Jan 18, 2014 7:49 pm

I think C2 should follow mrchay path on getting C2 to create the APK. mrchay managed a 20mb tool that will compile the project to APK. Works similar in concept to how NodeWebkit does it.

All that would be required for compile to Android rather than Crosswalk. Would be that the developer has Java Runtime Environment installed.

mrchay easy APK builder

You can't use this practically right now as there are problems. There is no manifest modifcation, wrong icon is used, and C2 audio is not working(crashed out). But it's a 2 step process.

1. Copy all files into the HTML5 folder.
2. Double click go.bat
Boom you have a signed APK

If C2 offered this where you can have manifest options, use the current icons and compile. I think it could then officially 100% no doubt offer Android compile. At this time I do however agree that the compile should be called Crosswalk.jayderyu2014-01-18 19:51:43
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,018


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests