Best way to export to apk?

Get help using Construct 2

Post » Sun Mar 15, 2015 7:24 pm

What its the best way to export my project on apk file? cause when i use Intel XDK the file size its 15 mb more than the game mb
B
10
S
2
G
1
Posts: 35
Reputation: 691

Post » Sun Mar 15, 2015 8:23 pm

If you build with Crosswalk, then the file size get´s much larger than if you build with normal Cordova build in XDK. So if you dont need the extra power you get from Crosswalk, then you should be able to get a smaller apk.
Frosty Elk AB
www.frostyelk.se
Have no fear, We come in peace!
B
13
S
3
G
1
Posts: 106
Reputation: 1,169

Post » Mon Mar 16, 2015 1:52 pm

frostyelk wrote:If you build with Crosswalk, then the file size get´s much larger than if you build with normal Cordova build in XDK. So if you dont need the extra power you get from Crosswalk, then you should be able to get a smaller apk.


And what excatly do the corsswalk?
B
10
S
2
G
1
Posts: 35
Reputation: 691

Post » Mon Mar 16, 2015 1:57 pm

Crosswalk enables WebGL stuff to be used. Without Crosswalk your app will run a lot slower. But instead you get a smaller package.
Frosty Elk AB
www.frostyelk.se
Have no fear, We come in peace!
B
13
S
3
G
1
Posts: 106
Reputation: 1,169

Post » Mon Mar 16, 2015 2:11 pm

frostyelk wrote:Crosswalk enables WebGL stuff to be used. Without Crosswalk your app will run a lot slower. But instead you get a smaller package.


i wanna ask you something,

when i'm expor the game, with crosswalk and all the stuff on Intel XDK when i open the game work fine, but when i touch a button of Game or Characters, the game crash and close, but when i test the game on Chrome work fine... do you know any solution?
B
10
S
2
G
1
Posts: 35
Reputation: 691

Post » Mon Mar 16, 2015 2:17 pm

Generally impossible to diagnose a crash from just a few words, but could be a memory issue.

How much memory does C2 report your games uses?
If your vision so exceeds your ability, then look to something closer.
Moderator
B
129
S
29
G
77
Posts: 5,188
Reputation: 54,281

Post » Mon Mar 16, 2015 3:57 pm

Impossible to say without more information.
-Are you using any non official plugins?
-Does the compile log in XDK look ok?
-Do you use minify on export from construct2?
-Does other games work for you on export on your device(try a simple demo project and see if that works out of the box on your device)
-Do you see any error in Chrome in its Console? (press F12)

There are a thousand things that can go wrong....start simple and test often!
Frosty Elk AB
www.frostyelk.se
Have no fear, We come in peace!
B
13
S
3
G
1
Posts: 106
Reputation: 1,169

Post » Mon Mar 16, 2015 9:12 pm

frostyelk wrote:Impossible to say without more information.
-Are you using any non official plugins?
-Does the compile log in XDK look ok?
-Do you use minify on export from construct2?
-Does other games work for you on export on your device(try a simple demo project and see if that works out of the box on your device)
-Do you see any error in Chrome in its Console? (press F12)

There are a thousand things that can go wrong....start simple and test often!


Pluggins no more that construct have by default
i'm using Intel XDK - Android Crosswalk to make the apk file
in the game run until the main screen but in the buttons any of then the game close
I test the game on Chrome and work fine

here the link of the game on my website

alfonsoverlezza.com/llega/index.html
B
10
S
2
G
1
Posts: 35
Reputation: 691

Post » Tue Mar 17, 2015 8:16 am

I am getting a 404 not found for cordova.js on that page you linked to!
Frosty Elk AB
www.frostyelk.se
Have no fear, We come in peace!
B
13
S
3
G
1
Posts: 106
Reputation: 1,169

Post » Tue Mar 17, 2015 7:07 pm

frostyelk wrote:I am getting a 404 not found for cordova.js on that page you linked to!


try with alfonsoverlezza.com/LlegaTempranoaCasa/index.html
B
10
S
2
G
1
Posts: 35
Reputation: 691

Next

Return to How do I....?

Who is online

Users browsing this forum: CrudeMik and 10 guests