Crosswalk Integration Beta in Ionic CLI (v1.3.2)


#93

Just upgraded and re-built our app with Crosswalk, it built on the first try. This is amazing, the speed difference on my Android 4.1.2 phone is incredible, testing it side-by-side with an iPhone 6, it’s just as fast (our app isn’t very demanding), while before it would stutter and chug!

There’s one issue with an image not displaying that I’ll have to look into. I’m not sure if the problem lies with Crosswalk, or with something we did (most likely this)/ The image is within the apk, and appears when using the Phonegap Developer app. The Splash screen also does not show, just a white page, but I can’t find the splash.png in the .apk, so this is probably my fault as well.

Is there anything I can do about the file size? I realize Crosswalk will add ~20MB or so to the .apk, but I’d like to minimize the size as much as possible. The installed size on my phone is about 60MB.

Thanks! These past few updates have been incredible.


#94

Yup, we’re working on the file size.
Right now its bundling both x86 and arm7 binaries so in the next release we will be separating those by default

As for the splash screen


#95

I say WOW! My app is really fluid now in my Moto G with Android 4.4!!! It feels very good. My build size is 36mb and my instaled app is 65mb. Hope you can fix that. I :heart: u


#96

You can change the version number in config.xml or simply uninstall the the app from your device then try again. If there is no old install to reference then the test will pass.


#97

yes, thanks. Still this isn’t a problem when using the normal build so I reported it


#98

On the issue of app sizes, what do you guys think about this - RE:Crosswalk - Enabling the Android Move To SD Card Feature

Feel free to chime in. Thanks


#99

Thanks for this typ. Halved the size of my .apk!


#100

Hi guys, cross-posting a question I just asked that I think is related to this topic


#101

I’m having the same issue. The only hack fix I’ve found is to do the following if you want to remove and re-add the Android platform:

~ ionic platform rm android
~ ionic browser rm crosswalk
~ ionic platform add android
~ ionic browser crosswalk

#102

have to re-add crosswalk too after some time. dont know when it happens. The error says, that i have not the right environment or os or something like that


#103

The CLI has been update to included some bug fixes and improvements.

Please update your CLIs


#104

Did you found a solution to this?


#105

Our project is currently still running on beta 13, and when I add crosswalk it installs correctly with no errors, but when I go to run android I get this error:

The provided path "/Users/nicholasschlax/sites/ionic-mobile-streaming/platforms/android" is not an Android project.

When I look in the platform folder I find that it’s deleted android. If I remove crosswalk and re-add the android platform everything seems to be fine.

I’m currently on CLI 1.3.2. Any ideas what this could be?


#106

On a branch of our project that’s been updated to beta 14, I can add crosswalk and run it without any problems, but for a few different reasons, we need to stick with beta 13 for now.


#107

Not yet … still searching tho :frowning:


#108

This may be an issue with the plugin and cordova-android 4.0.

Cordova-android 4.0 isn’t released yet, but is need for crosswalk.
The cordova team is hoping to release it this month, so plugin managers will need to update their plugins to support the new version.

This goes the hand-in-hand with the splash screen needing to be update to work with 4.0 as well.


#109

I got this error due to the com.synconset.imagepicker cordova plugin which had an empty entry in its plugin.xml file.

It seems lots of issues people are facing with Crosswalk + Ionic are really issues related to plugins not compatible with Cordova 4.0.


#111

Please can you help me, I have updated Ionic CLI to 1.3.2 and still have the same problem


#112

@sn0opr I found that the problem was the space character in the name of the folder "D:\Android Projects..."
I renamed the folder to "D:\AndroidProject" and now it’s working fine!


#113

Hi! I got this warnings:

:compileDebugJavawarning: org/chromium/net/NetError.class(org/chromium/net:NetError.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: org/xwalk/core/XWalkResourceClient.class(org/xwalk/core:XWalkResourceClient.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: org/xwalk/core/XWalkView.class(org/xwalk/core:XWalkView.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: org/xwalk/core/XWalkNavigationHistory.class(org/xwalk/core:XWalkNavigationHistory.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: org/xwalk/core/XWalkNavigationItem.class(org/xwalk/core:XWalkNavigationItem.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: org/xwalk/core/XWalkPreferences.class(org/xwalk/core:XWalkPreferences.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: org/xwalk/core/XWalkUIClient.class(org/xwalk/core:XWalkUIClient.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: org/xwalk/core/XWalkJavascriptResult.class(org/xwalk/core:XWalkJavascriptResult.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: org/xwalk/core/XWalkUIClient$JavascriptMessageType.class(org/xwalk/core:XWalkUIClient$JavascriptMessageType.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: org/xwalk/core/XWalkUIClient$LoadStatus.class(org/xwalk/core:XWalkUIClient$LoadStatus.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: org/xwalk/core/JavascriptInterface.class(org/xwalk/core:JavascriptInterface.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: org/xwalk/core/XWalkNavigationHistory$Direction.class(org/xwalk/core:XWalkNavigationHistory$Direction.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
12 warnings

What shall I do to fix them?

UPD: solved it by installing a newer version of the JDK (1.8.0_25)