Using Intel XDK, Crosswalk Android vs Android build

Discussion and feedback on Construct 2

Post » Mon Jun 01, 2015 8:01 am

Hi,
I'm building my game via Intel XDK and I've noticed that when building with "Crosswalk Android", the apk is about 20 MB in size and I get 50-55 fps on my test phone (never mind the phone specs), and when I build using only "Android" the apk is only 1.5 MB in size and I get 60 fps most of the time.

My question is when and why to use "Crosswalk Android" and when to use "Android" build?

Cheers!
Image
B
7
S
1
Posts: 70
Reputation: 843

Post » Mon Jun 01, 2015 9:22 am

Crosswalk works well for Android 4.0+, but the non-Crosswalk Android build will only work well with Android 5.0+, where the system webview has been updated to a similar level as Crosswalk.
Scirra Founder
B
402
S
238
G
89
Posts: 24,644
Reputation: 196,095

Post » Mon Jun 01, 2015 6:20 pm

So, given that logic, if we were interested in launching a game that only runs on 5.0 and above, the straight up android export would be better?
B
37
S
5
G
1
Posts: 155
Reputation: 2,140

Post » Mon Jun 01, 2015 8:46 pm

Ashley wrote:...but the non-Crosswalk Android build will only work well with Android 5.0+...

or not so performance hungry games, depends heavily on the type of game i would say, try out some of my games (signature) on Android 4+ devices (only "Find the Fruits" is an crosswalk app)
B
38
S
11
G
5
Posts: 485
Reputation: 5,340

Post » Tue Jun 02, 2015 10:45 am

@blekdar - if you only want to support Android 5.0+ devices, then the non-Crosswalk version will save you the extra 20mb filesize Crosswalk adds. Android 5.0+ is currently about 12% of all Android devices according to Google's stats, but it should increase to the majority over time.
Scirra Founder
B
402
S
238
G
89
Posts: 24,644
Reputation: 196,095

Post » Sat Jun 13, 2015 9:08 pm

My Alcatel on android 4.1.1. runs my game good with android export, but when I export with Crosswalk, the game flashes and is unplayable... Is there a specific export option (when exporting from C2 I use targeted device "Any" as an option, and in IntelXDK i use Crosswalk 12...
Image
B
7
S
1
Posts: 70
Reputation: 843

Post » Sun Jun 21, 2015 7:57 pm

Still no luck, tried most of the build options and export options in C2, when I export .apk and install it on Android 4.1.1. the game loads but starts flashing, or sometimes I get black screen...
Image
B
7
S
1
Posts: 70
Reputation: 843

Post » Sun Oct 04, 2015 5:19 am

@Ashley

I have a game installed on Android 4.4 using normal Android build but it has no sound output. Is it caused by the build or is it because of my device?
B
23
S
10
G
2
Posts: 104
Reputation: 3,071

Post » Sun Oct 04, 2015 5:36 am

Android devices in general update to the latest OS very very slowly. It's only mostly through natural install of new devices.

Supporting 4+ should be your target and NOT 5+.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,616

Post » Sun Oct 04, 2015 5:56 am

@Silverforce

So the audio not outputting properly is due to Android version? Everything else works fine on my Android 4.4 except for the audio.
B
23
S
10
G
2
Posts: 104
Reputation: 3,071

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 1 guest