Problem with APK building : Cordova bug, Crosswalk size...

Get help using Construct 2

Post » Fri Jul 11, 2014 8:00 pm

Hi everyone,

First of all: new here so sorry if this has been already / asked solved (tried to search but found nothing).

I'm currently making an Android game using Construct2.

I build the APK with Intel XDK.

=> I tried the classic Android build but cannot manage the asked authorizations. I'd like to ask for the minimum and it is set to the maximum by default. Don't know how to change it.

=> Then, I tried Crosswalk which works fine but the APK file is 52 Mo. I do not manage to lower it. Too big for me and my 2 Mo game.

=> So, I tried Cordova (beta) and it's OK with the authorizations and the size! But when I install the APK and launch the game, it seems two games are launching at the same time. I can see them two game screens when I'm on landscape. Also, the speed of the game is awful.

Any idea on how to build a working APK, with minimum authorization and a reasonable size?

Thanks for you help :)
B
3
Posts: 3
Reputation: 179

Post » Fri Jul 11, 2014 10:14 pm

This will help you as it have really helped me, https://www.scirra.com/tutorials/71/how ... d-phonegap <<<Manual
B
7
S
1
Posts: 57
Reputation: 484

Post » Sat Jul 12, 2014 1:51 am

You can try build apk with coconjs which is has output small size. But cocoonjs doesn't support form button, input text and letterbox scale. But i suggest you build with crosswalk as native app. Maybe you can reduce image background, sound or sprite by compress them all, dont use any splashscreen because it will be big size in the apk file
B
36
S
13
G
1
Posts: 88
Reputation: 3,101

Post » Sun Aug 10, 2014 2:50 am

I have a similar problem and my game is really simple.

With Intel XDK:
- Android Cordova build I got an 708kb apk :D . But it is not responding properly to the touch event. :(
- On Crosswalk build the touch event is fine but I got a 17mb apk. :o

With CocconJS
- 9mb apk that prompt an error during install;


I am still looking for a proper solution or probably I will write my game as a native Android in Java. :|
B
231
S
6
G
9
Posts: 89
Reputation: 12,903

Post » Sat Aug 30, 2014 9:35 pm

Hello guys,

For some reasons, I did not receive your answers' alert messages and only see them now. Thanks a lot.

I saw that Intel XDK released a new version two weeks ago with Cordova by default. I'm currently trying it. Still have the "double launch" bug so I'll try harder :)

I'll let you know if I find a solution...
B
3
Posts: 3
Reputation: 179


Return to How do I....?

Who is online

Users browsing this forum: 25games, Artcadev, grodrigues and 24 guests