Giter Site home page Giter Site logo

crosswalk-project / cordova-plugin-crosswalk-webview Goto Github PK

View Code? Open in Web Editor NEW

This project forked from infil00p/cordova-crosswalk-engine

944.0 63.0 351.0 164.26 MB

Crosswalk WebView Cordova Plugin (UNMAINTAINED)

Home Page: https://crosswalk-project.org/blog/crosswalk-final-release.html

License: Apache License 2.0

Java 82.74% JavaScript 17.26%

cordova-plugin-crosswalk-webview's Introduction

cordova-plugin-crosswalk-webview

Makes your Cordova application use the Crosswalk WebView instead of the System WebView. Requires cordova-android 4.0 or greater.

Benefits

  • WebView doesn't change depending on Android version
  • Capabilities: such as WebRTC, WebAudio, Web Components
  • Performance improvements (compared to older system webviews)

Drawbacks

  • Increased memory footprint
    • An overhead of ~30MB (as reported by the RSS column of ps)
  • Increased APK size (about 17MB)
  • Increased size on disk when installed (about 50MB)
  • Crosswalk WebView stores data (IndexedDB, LocalStorage, etc) separately from System WebView
    • You'll need to manually migrate local data when switching between the two (note: this is fixed in Crosswalk 15)

Install

The following directions are for cordova-cli (most people). Alternatively you can use the Android platform scripts workflow.

  • Open an existing cordova project, with cordova-android 4.0.0+, and using the latest CLI. Crosswalk variables can be configured as an option when installing the plugin
  • Add this plugin
$ cordova plugin add cordova-plugin-crosswalk-webview
  • Build
$ cordova build android

The build script will automatically fetch the Crosswalk WebView libraries from Crosswalk project download site (https://download.01.org/crosswalk/releases/crosswalk/android/maven2/) and build for both X86 and ARM architectures.

For example, building android with Crosswalk generates:

/path/to/hello/platforms/android/build/outputs/apk/hello-x86-debug.apk
/path/to/hello/platforms/android/build/outputs/apk/hello-armv7-debug.apk

Note that you might have to run cordova clean before building, if you previously built the app without cordova-plugin-crosswalk-webview. Also, manually uninstall the app from the device/emulator before attempting to install the crosswalk-enabled version.

Also note that it is also possible to publish a multi-APK application on the Play Store that uses Crosswalk for Pre-L devices, and the (updatable) system webview for L+:

To build Crosswalk-enabled apks, add this plugin and run:

$ cordova build --release

To build System-webview apk, remove this plugin and run:

$ cordova build --release -- --minSdkVersion=21

Configure

You can try out a different Crosswalk version by specifying certain variables while installing the plugin, or by changing the value of xwalkVersion in your config.xml after installing the plugin. Some examples:

<!-- These are all equivalent -->
cordova plugin add cordova-plugin-crosswalk-webview --variable XWALK_VERSION="org.xwalk:xwalk_core_library:14+"
cordova plugin add cordova-plugin-crosswalk-webview --variable XWALK_VERSION="xwalk_core_library:14+"
cordova plugin add cordova-plugin-crosswalk-webview --variable XWALK_VERSION="14+"
cordova plugin add cordova-plugin-crosswalk-webview --variable XWALK_VERSION="14"
<preference name="xwalkVersion" value="org.xwalk:xwalk_core_library:14+" />
<preference name="xwalkVersion" value="xwalk_core_library:14+" />
<preference name="xwalkVersion" value="14+" />
<preference name="xwalkVersion" value="14" />

You can also use a Crosswalk beta version. Some examples:

<!-- These are all equivalent -->
cordova plugin add cordova-plugin-crosswalk-webview --variable XWALK_VERSION="org.xwalk:xwalk_core_library_beta:14+"
<preference name="xwalkVersion" value="org.xwalk:xwalk_core_library_beta:14+" />

You can set command-line flags as well:

<!-- This is the default -->
cordova plugin add cordova-plugin-crosswalk-webview --variable XWALK_COMMANDLINE="--disable-pull-to-refresh-effect"
<preference name="xwalkCommandLine" value="--disable-pull-to-refresh-effect" />

You can use the Crosswalk shared mode which allows multiple Crosswalk applications to share one Crosswalk runtime downloaded from the Play Store.

<!-- These are all equivalent -->
cordova plugin add cordova-plugin-crosswalk-webview  --variable XWALK_MODE="shared"
<preference name="xwalkMode" value="shared" />

You can also use a Crosswalk beta version on shared mode, e.g.:

<!-- Using a Crosswalk shared mode beta version -->
cordova plugin add cordova-plugin-crosswalk-webview --variable XWALK_VERSION="org.xwalk:xwalk_shared_library_beta:14+"

You can use the Crosswalk lite mode which is the Crosswalk runtime designed to be as small as possible by removing less common libraries and features and compressing the APK.

<!-- These are all equivalent -->
cordova plugin add cordova-plugin-crosswalk-webview  --variable XWALK_MODE="lite"
<preference name="xwalkMode" value="lite" />

You can set background color with the preference of BackgroundColor.

<!-- Set red background color -->
<preference name="BackgroundColor" value="0xFFFF0000" />

You can also set user agent with the preference of xwalkUserAgent.

<preference name="xwalkUserAgent" value="customer UA" />

Release Notes

2.4.0 (January 18, 2018)

  • Keep compatibility with cordova-android 7.0 project structure

2.3.0 (January 21, 2017)

  • Uses the latest Crosswalk 23 stable version by default

2.2.0 (November 4, 2016)

  • Uses the latest Crosswalk 22 stable version by default
  • Keep compatible for Cordova-android 6.0 with evaluating Javascript bridge
  • This version requires cordova-android 6.0.0 or newer

2.1.0 (September 9, 2016)

  • Uses the latest Crosswalk 21 stable version by default

2.0.0 (August 17, 2016)

  • Uses the latest Crosswalk 20 stable version by default
  • Discontinue support for Android 4.0 (ICS) in Crosswalk starting with version 20

1.8.0 (June 30, 2016)

  • Uses the latest Crosswalk 19 stable version by default

1.7.0 (May 4, 2016)

  • Uses the latest Crosswalk 18 stable version by default
  • Support to use Crosswalk Lite, It's possible to specify lite value with the variable of XWALK_MODE at install plugin time.
  • Cordova screenshot plugin can capture the visible content of web page with Crosswalk library.
  • Doesn't work with Crosswalk 17 and earlier

1.6.0 (March 11, 2016)

  • Uses the latest Crosswalk 17 stable version by default

  • Support to package apps for 64-bit devices, it's possible to specify 64-bit targets using the --xwalk64bit option in the build command:

      cordova build android --xwalk64bit
    

1.5.0 (January 18, 2016)

  • Uses the latest Crosswalk 16 stable version by default
  • The message of xwalk's ready can be listened

1.4.0 (November 5, 2015)

  • Uses the latest Crosswalk 15 stable version by default
  • Support User Agent and Background Color configuration preferences
  • Compatible with the newest Cordova version 5.3.4

1.3.0 (August 28, 2015)

  • Crosswalk variables can be configured as an option via CLI
  • Support for Crosswalk's shared mode via the XWALK_MODE install variable or xwalkMode preference
  • Uses the latest Crosswalk 14 stable version by default
  • The ANIMATABLE_XWALK_VIEW preference is false by default
  • Doesn't work with Crosswalk 14.43.343.17 and earlier

1.2.0 (April 22, 2015)

  • Made Crosswalk command-line configurable via <preference name="xwalkCommandLine" value="..." />
  • Disabled pull-down-to-refresh by default

1.1.0 (April 21, 2015)

  • Based on Crosswalk v13
  • Made Crosswalk version configurable via <preference name="xwalkVersion" value="..." />

1.0.0 (Mar 25, 2015)

  • Initial release
  • Based on Crosswalk v11

cordova-plugin-crosswalk-webview's People

Contributors

agrieve avatar alexkvak avatar alsorokin avatar clelland avatar cupidi avatar devgeeks avatar dmonllao avatar dpogue avatar drmoriarty avatar dstaubsauger avatar fujunwei avatar huningxin avatar iliyazelenko avatar infil00p avatar jerroydmoore avatar jstnpwll avatar kaynz avatar mmocny avatar poshaughnessy avatar rakuco avatar renanbandeira avatar sidneys avatar suhanmoon avatar vladimir-kotikov avatar xzhan96 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cordova-plugin-crosswalk-webview's Issues

How to remove crosswalk from Android 5+

I've uploaded my app with crosswalk (Android 4.1 to 7.1)

Now ฤฑ wanna upload multiple APK's like;

Android 4.1 - 4.4 with crosswalk
Android 5.0 - 7.1 without crosswalk

When i upload apk's with and without crosswalk it gives;

ver 1000043
21+ 25
ver 1000042 (x86)
16+ 20
ver 1000041 (armeabi-v7a)
16+ 20

When i save it says something like "Migrating to old permisson. Current users who have SDK with 23 will have a problem with new ones targeting 20 etc etc"

How can i change my app to support crosswalk only on Android 4.1 - 4.4 ?

Not able to disable cordova for android versions 21+

This is more of a question than an issue.
I do not want to bundle crosswalk inside the apk files for android versions > 21 . So I tried using following command from the documentation cordova build --release -- --minSdkVersion=21, but it still generates two apks. What could possibly be the problem.
Tried searching on google but couldn't find any solution.
Ionic CLI - v 2.2.1
Cordova - v 6.3.1

Is there a Tutorial about how to integrate the last chromium in cordova?

I've used cordova-plugin-crosswalk-webview for a long time.
But Crosswalk team said the crosswalk has stopped.

In Android world ,there are too many versions and custom ROM , so When we build a Hybrid App ,
an unified and powerful webview is very important.

So I need (I think many people need) a new way to integrate the last chromium in cordova.

But I'm a web developer ,not good at Android.

Is there a Tutorial about how to integrate the last chromium in cordova?

Or Is there a project could instead of cordova-plugin-crosswalk-webview ?

Thanks

Does Crosswalk retain images in memory?

Once images are loaded on a page, do those images stay retained in memory managed by Crosswalk? If so how is garbage collection controlled?

I ask as we are currently working on an application with thousands of images and we seem to have a memory leak related to images even though they are no longer resident in the DOM. We've also monitored Javascript memory usage and don't see evidence of memory leak here.

Thoughts or suggestions on how images that were loaded and then removed from the DOM may lead to an eventual OOM kill?

Preference xwalkMultipleApk not working after v2.1.0

It appears that this preference is now being ignored.

The config.xml contains:

<preference name="xwalkCommandLine" value="--disable-pull-to-refresh-effect"/>
<preference name="xwalkMultipleApk" value="true"/>
<preference name="xwalkMode" value="embedded"/>

When using v2.1.0, the output apk folder contains:

  1. android-armv7-release.apk
  2. android-x86-release.apk

When using v2.2.0 or v2.3.0, the output apk folder contains:

  1. android-release.apk

Disable Crosswalk for iOS

I have an Ionic App and I mainly want to use Crosswalk for Android platform. However, when I install cordova-plugin-crosswalk-webview plugin, it also includes the plugin for iOS platform and its gets installed to my iOS App when adding the platform like this:

Installing "cordova-plugin-crosswalk-webview" for ios

        After much discussion and analysis of the market, we have decided to discontinue support for Android 4.0 (ICS) in Crosswalk starting with version 20.

        So the minSdkVersion of Cordova project is configured to 16 by default.

How can install this plugin and use it only for Android and not for iOS? Is there a setting in config.xml I can add for this?

Apache Cordova plugin registry

I am excited about this plugin, I build my app via phonegap remote build which only allows phonegap plugins or plugins from the apache cordova plugin registry.

I am wondering if crosswalk plans to upload this plugin to the apache cordova plugin registry.

Change Crosswalk Version?

Hi,
thanks for this great plugin.

I use crosswalk for a while and test now your integration.
After playing around I ask me, how to change the Crosswalk version? I wanna use:
12.41.296.9
Is it possible to change this version for myself?

Regards

preventing user from having to download xwalk

Hi,

I've had multiple reports from users running Samsung Galaxy's that they are prompted to download Crosswalk from the Google Play store when the app starts. From the docs, it seems embedded mode is the default. Is there something I need to do to prevent this?

Here are the crosswalk-related entries in my config.xml:

		<preference name="xwalkMultipleApk" value="true"/>
		<preference name="android-minSdkVersion" value="16"/>
		<plugin name="cordova-plugin-crosswalk-webview" spec="~2.3.0"/>

Thanks!
James

Crosswalk fires html5 audio sprite sound multiple times (Android Lollipop)

I am creating several html5 audio elements to emulate a spaceship firing a cannon.

function HTML_GameSound(params)
{
this.instanceArray = [];
this.soundRef = params.sound;
this.muted = false;
var numOfInstances = params.NumOfInstances;
var src = params.src;

for(var i = 0; i < numOfInstances; i++)
{
    this.sound = document.createElement("audio");
    this.sound.src = src;
    this.sound.setAttribute("preload", "auto");
    this.sound.setAttribute("controls", "none");
    this.sound.loop = params.loop;
    this.sound.volume = params.volume;
    this.sound.playbackRate = params.playbackRate;
    this.sound.style.display = "none";

    this.sound.onended = function()
    {
        this.currentTime = 0;
    }

    this.instanceArray.push(this.sound);
}
    

this.playSound = function()
{
    if(!this.muted)
    {
        for(var i = 0; i < this.instanceArray.length; i++)
        {
            if(this.instanceArray[i].currentTime === 0 && this.instanceArray[i].paused)
            {
                
                this.instanceArray[i].play();
                return;
            }
        }
    } 
}

}

When calling playSound() from another object (every half second or so), each sprite fires several times and much faster than I am actually invoking it. I have tested this on the browser and in Android 4.4 (KitKat) and it works fine. So far, I am only experiencing this on Android 5.1. Any help or reason why would be greatly appreciated. I have tried nativesound plugin and am using that for iOS build, however neither nativesound nor cordova-plugin-media work as well as regular audio elements on lollipop. If I remove crosswalk, this problem goes away, but then my game is unplayable on Android versions less than 5.0.

Thank you

how to disable cache?

cordova 6.3.1
when i run "cordova run android" . page is always cached. i delete my www folder. but it is always cached.

Proposal: xwalk library channel & version

As explained here I think it would be better & more clear for everyone if we had some preferences like this:

<preference name="xwalkChannel" value="CHANNEL" />
<preference name="xwalkVersion" value="VERSION" />

instead of this:

<!-- These are all equivalent -->
<preference name="xwalkVersion" value="org.xwalk:xwalk_core_library_beta:13+" />
<preference name="xwalkVersion" value="xwalk_core_library_beta:13+" />
<preference name="xwalkVersion" value="13+" />
<preference name="xwalkVersion" value="13" />

... where channel possible values are: stable, beta, canary and version - the version number.
Default values: channel - stable & version - latest stable version (11 for now).

Fullscreen disabled when softkeyboard shows

I don't know if this is a cordova-plugin-fullscreen related bug, but when using fullscreen preference mode to true, it works perfectly until you focus on an input. Then, the softkeyboard shows up and the fullscreen/inmersive mode disables itself. After that, you could hide the keyboard and expect the fullscreen mode to enable again, but it gets disabled until you swipe the app with another one or close and reopen the app.

I dont know if this is related to the cordova-plugin-crosswalk-webview i'm currently using or not, I'll post the same issue there.

Thank you for your work.

App fails to start "Failed to create webview"

When starting app with that plugin i'm getting "unfortunately XXX has stopped

This is the filtered logcat

I/ActivityManager( 1657): Timeline: Activity_launch_request id:com.photomania.app time:26546224
I/ActivityManager(  947): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.photomania.app/.CordovaApp} from pid 1657
D/ActivityManager(  947): resumeTopActivityLocked: Restarting ActivityRecord{439f4fc8 u0 com.photomania.app/.CordovaApp t76}
I/ActivityManager(  947): Start proc com.photomania.app for activity com.photomania.app/.CordovaApp: pid=16773 uid=10193 gids={50193, 1028, 1015}
D/SlideAside(10898): [MainService.java:201:handleNewActivity()] oooooo User executes an App : com.photomania.app (filtered)
V/ActivityManager(  947): Moving to RESUMED: ActivityRecord{439f4fc8 u0 com.photomania.app/.CordovaApp t76} (starting new instance)
D/dalvikvm(16773): Trying to load lib /data/app-lib/com.photomania.app-2/libxwalkcore.so 0x42fc0a50
D/dalvikvm(16773): Added shared lib /data/app-lib/com.photomania.app-2/libxwalkcore.so 0x42fc0a50
W/System.err(16773):    at com.photomania.app.CordovaApp.onCreate(CordovaApp.java:31)
E/AndroidRuntime(16773): Process: com.photomania.app, PID: 16773
E/AndroidRuntime(16773): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.photomania.app/com.photomania.app.CordovaApp}: java.lang.RuntimeException: Failed to create webview. 
E/AndroidRuntime(16773):    at com.photomania.app.CordovaApp.onCreate(CordovaApp.java:31)
W/ActivityManager(  947):   Force finishing activity com.photomania.app/.CordovaApp
V/ActivityManager(  947): Moving to PAUSING: ActivityRecord{439f4fc8 u0 com.photomania.app/.CordovaApp t76 f}
W/ActivityManager(  947): Activity pause timeout for ActivityRecord{439f4fc8 u0 com.photomania.app/.CordovaApp t76 f}
V/ActivityManager(  947): Moving to PAUSED: ActivityRecord{439f4fc8 u0 com.photomania.app/.CordovaApp t76 f} (due to timeout)
V/ActivityManager(  947): Moving to FINISHING: ActivityRecord{439f4fc8 u0 com.photomania.app/.CordovaApp t76 f}
D/ActivityManager(  947): allPausedActivitiesComplete: r=ActivityRecord{439f4fc8 u0 com.photomania.app/.CordovaApp t76 f} state=FINISHING
V/ActivityManager(  947): Moving to DESTROYING: ActivityRecord{439f4fc8 u0 com.photomania.app/.CordovaApp t76 f} (destroy requested)
E/WindowManager(  947): Starting window AppWindowToken{4492f620 token=Token{43a8ebb0 ActivityRecord{439f4fc8 u0 com.photomania.app/.CordovaApp t76}}} timed out
W/ActivityManager(  947): Activity destroy timeout for ActivityRecord{439f4fc8 u0 com.photomania.app/.CordovaApp t76 f}
V/ActivityManager(  947): Moving to DESTROYED: ActivityRecord{439f4fc8 u0 com.photomania.app/.CordovaApp t76 f} (removed from history)

And unfiltered logcat:
http://pastebin.com/rN5cF06r

Unable to get access to microphone

I am running webrtc on my android device, but I keep getting the following bug:

Unable to publish because your browser failed to get access to your microphone. You may need to fully quit and restart your browser to get it to work

I hope anyone can give a hand on this.

Thank you so much.

AudioBuffer.getChannelData() only returns 0 on Android with crosswalk

I'm running cordova-plugin-crosswalk-webview: ~2.3.0, XWALK_VERSION: 23+,XWALK_LITEVERSION:xwalk_core_library_canary:17+ on Android.

I have an app that processes audio input using the web audio API via dancer.js ( https://github.com/hoboman313/huegasm/blob/master/mobile/vendor/dancer.js ). I have a problem that when I compile with crosswalk getChannelData() only returns 0. Everything works as expected without crosswalk and in-browser. What's going on?

Crosswalk Plugin destroy isTablet detection in ionic2 on android

The platform detection, to know if it's a tablet, in ionic2 with platform.is('tablet') doesn't work with crosswalk-webview plugin on android.
My steps: create a new ionic2 project with "ionic start MyIonicProject"

My files:
hello-ionic.ts:

import { Component } from '@angular/core';
import { Platform } from 'ionic-angular';

@Component({
  selector: 'page-hello-ionic',
  templateUrl: 'hello-ionic.html'
})
export class HelloIonicPage {
  constructor(public plt: Platform) {
	
  }
}

hello-ionic.html

<ion-header>
  <ion-navbar>
    <button ion-button menuToggle>
      <ion-icon name="menu"></ion-icon>
    </button>
    <ion-title>Hello Ionic</ion-title>
  </ion-navbar>
</ion-header>
<ion-content padding>
  <p>isTablet: {{ this.plt.is('tablet') }}</p>
</ion-content>

Without crosswalk-webview plugin:
{{ this.plt.is('tablet') }} is true on an android tablet.

With crosswalk-webview plugin:
{{ this.plt.is('tablet') }} is false on an android tablet.

Ionic 2 Permission error

I was able to implement verto using crosswalk, Now I am running into an issue where I am not receiving media streams

 There has been a problem retrieving the streams - did you allow access? Check Device Resolution, [object Object]

Call ended with cause: Device or Permission Error

Are there any permissions that I need to add in my app to allow access?

I am also getting Request was denied for security error every now and then

Geolocation plugin / HTML5 API not working

I've been trying to set up geolocation (coarse) for my app. It always times out on WiFi and celltowers, which are the cases I'm interested in. The tests:

-local file with and without the cordova geolocation plugin
-hosted files with and without cordova geolocation plugin on secure origins

The code is pretty simple:

navigator.geolocation.getCurrentPosition(function(position) {
	console.log(position)
}, function (e){
	console.warn(e);
}, {
	enableHighAccuracy : false,
	timeout : 7000,
});

Is there anything I'm missing? I've checked for the right permissions a million times and no luck.
Thanks in advance!

visibilitychange events not raised on Android

I have an HTML5 game packaged for Android using Monaca, and using the Crosswalk WebView Engine plugin for performance. The plugin is configured as the highest selectable Crosswalk version (23.53.589.4) and Plugin Version 2.1.0 (I can't use the latest version of 2.3.0 because Monaca does not support it, and it results in a post-build error).

I am trying to use the webkitvisibilitychange event as described here, to control my app state when exiting / returning to my app via the Android Home / Recent Apps buttons:

https://github.com/crosswalk-project/crosswalk-website/wiki/How-to-pause-play-audio-when-application-is-switched-to-background

I have added event listeners (using document.addEventListener) for both visibilitychange and webkitvisibilitychange. Without the CrossWalk plugin enabled, the visibilitychange event is raised as expected when I exit my app using the Home or Recent Apps buttons, and when I return to my app. I use this in conjunction with document.visibilityState to suspend my game properly. But with CrossWalk enabled, the game keeps running, including the sound.

Incidentally, with Crosswalk it does not raise window.blur / window.focus events either.

This occurs both on my phone (HTC One M8, Android 6) and friends' phones too.

disable lzma compress when using lite

it is possible?
I don't want my users see the decompression message on first run.
Note that when it run the first time, after the decompression the app freeze.

Add plugin via CLI issues: not found & supported platforms

When I try to add the plugin via cordova CLI I have the following issues:

(1) cordova plugin add cordova-plugin-crosswalk-webview returns the following error:

Fetching plugin "cordova-plugin-crosswalk-webview" via plugin registry
npm http GET http://registry.cordova.io/cordova-plugin-crosswalk-webview
npm http 404 http://registry.cordova.io/cordova-plugin-crosswalk-webview
Error: 404 Not Found: cordova-plugin-crosswalk-webview
    at RegClient.<anonymous> (/usr/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:268:14)
    at Request.self.callback (/usr/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/index.js:148:22)
    at Request.emit (events.js:110:17)
    at Request.<anonymous> (/usr/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/index.js:876:14)
    at Request.emit (events.js:129:20)
    at IncomingMessage.<anonymous> (/usr/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/index.js:827:12)
    at IncomingMessage.emit (events.js:129:20)
    at _stream_readable.js:908:16
    at process._tickCallback (node.js:355:11)

...which is right, because the plugin cannot be found here.

(2) The plugin is added for all project's platforms (in my case android & ios). It doesn't break anything on iOS, but still...

cordova plugin add ../cross
Installing "cordova-plugin-crosswalk-webview" for android
Installing "cordova-plugin-crosswalk-webview" for ios

bugs:audio channel is not exist.what is wrong?

I use crosswalk webview on android6 ,XiaoMi Note4x phone.i meet a error ,logs form eclipse as below.
i want to know what reason it is,anyone could give me a lead?thanks
by the way,on android4.2,4.4 ,huawei phone,webrtc on crosswalk is good.

06-04 15:22:31.577: E/chromium(4829): [ERROR:webrtcvoiceengine.cc(1304)] webrtc: (voe_audio_processing_impl.cc:1007): SetTypingDetectionStatus: not supported
06-04 15:22:31.650: E/chromium(4829): [ERROR:opensles_input.cc(180)] Not implemented reached in virtual bool media::OpenSLESInputStream::SetAutomaticGainControl(bool)
06-04 15:23:03.346: E/chromium(4829): [ERROR:webrtcvoiceengine.cc(1304)] webrtc: (voe_audio_processing_impl.cc:1007): SetTypingDetectionStatus: not supported
06-04 15:23:03.348: E/chromium(4829): [ERROR:webrtcsession.cc(1103)] SetAudioPlayout: No audio channel exists.
06-04 15:23:03.348: E/chromium(4829): [ERROR:webrtcsession.cc(1124)] SetAudioSend: No audio channel exists.

Disable crosswalk while debugging

Hello,

is there some parameter or option so that I can disable the whole process (packing to 2 apk's e.g.) for debugging? It's quite annoying that I have to do this within every debug packaging.

Maybe, it's a feature request?

Bye

Crosswalk webview certificates error on latest version (23+)

I have a separate Ionic 2 app that I am trying to merge to my other Ionic 2 app where both are using crosswalk-webview. The problem that I am facing is that on the first (working) app it only deals with webrtc, so no http calls or anything else for that matter and works out of the box with webview.

Now the app I am trying to convert it to uses many http requests, and I notice that with the latest webview I get a Request was denied for security error when making any request.

I've heard of the certificate plugin here (danjarvis/cordova-plugin-crosswalk-certificate#1 (comment)) and attempted to use it, but this will not help me either because I need to use the latest webview or my app will not run correctly. The certificates uses webview 18+ and I need 23+.

Are there any other alternatives or is there anything that I am missing?

BUG - how to trigger javascript method from CordovaWebView?

I need to execute the a javascript function while using another plugin. Which is accessing CordovaPlugin-> CordovaWebView -> https://github.com/EddyVerbruggen/Custom-URL-scheme/blob/master/src/android/nl/xservices/plugins/LaunchMyApp.java#L83

Because its CrossWalk WebView the third party plugin is not understanding the difference.
How do i tell the third party plugin to use the CorssWalk WebView to get the javascript method?

So that this line can be executed:

webView.loadUrl("javascript:handleOpenURL('" + writer.toString() + "');");

Issues with crosswalk on android emulators, (almost) blank screen, but elements are still there when seen through developers tools

I have searched, this does not seem to be the usual "blank screen" issues all over the internet.

If I have the crosswalk plugin installed the app works fine on my phone (Android 4.1.2) but not on emulators (tried API 16, 17, 22 and 23 on Genymotion and regular emulator), the screen only shows the header/toolbar/navbar in its background color, no text is seen anywhere, if I open developers console the HTML is all there (and no errors are displayed in console), hell if I click somewhere the events are running, the app is "working" in a sense, I just can't see it working. If I uninstall crosswalk then the app will work fine on the emulators, but won't work on my phone, I assume because of the older version.

This seems to happen with every single app. If I just run ionic new with the tutorial template and install crosswalk, the same thing happens.

Screenshots:

Blank everything, except the header: If I inspect, I can see in the HTML everything is there, I added console logs to several of my handlers, and everything works, things are happening.
https://gyazo.com/5e1d15892bb44d17290b3834a6cd056e21

I can slide the menu, but it's like the content hides everything.
https://gyazo.com/3eba65439fb0ed0e513933550c93cfe911

Any help would be appreciated.

Your system information:

Cordova CLI: You have been opted out of telemetry. To change this, run: cordova telemetry on.
6.3.1

Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.0.0-beta.37
Ionic App Lib Version: 2.0.0-beta.20
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Mac OS X El Capitan
Node Version: v5.12.0
Xcode version: Xcode 7.3 Build version 7D111g

Issue description copied from https://forum.ionicframework.com/t/issues-with-crosswalk-on-android-emulators-almost-blank-screen-but-elements-are-still-there-when-seen-through-developers-tools/63589

crosswalk makes cordova-plugin-file not working on Android

Hi,

I'm using the plugin cordova-plugin-file to open files using the native app, before I open the file I create it in the device (I've got the file from a backend service) using the function file.writeFile, this function (writeFile) doesn't work. The implementation is very easy following Ionic2 instructions and it worked perfectly until I installed cordova-plugin-crosswalk-webview, with this plugin the function writeFile does nothing, it doesn't display any error in chrome console (inspect device mode), nothing. The rest of the things of the app work perfectly in every device. I run the application in iOS as well and it works perfect, so I think the problem must be crosswalk plugin because when I remove the plugin I can write the file and open it again. I hope someone can help me out with that. Here some information:

  • Ionic v2.2.3 framework
  • Cordova v7.0.1
  • cordova-plugin-crosswalk-webview v2.3.0
  • cordova-plugin-file 4.3.3
  • plugins involved in the problem: cordova-plugin-crosswalk-webview and cordova-plugin-file
  • Android versions: all
  • Errors: no errors in chrome console, no errors in the function promise
  • Config.xml piece of code:

Thanks!

Can not build anymore if cordova-plugin-camera is present

All my tools are using the latest update.

If only the camera plugin is installed, it builds, if only the crosswalk-webview plugin is installed, it builds. But when both are installed, is doesn't build anymore.

Here are the build errors:

:compileArmv7ReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:compileArmv7ReleaseNdk UP-TO-DATE
:compileArmv7ReleaseSources
:lintVitalArmv7Release
:transformClassesWithDexForArmv7Release FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':transformClassesWithDexForArmv7Release'.
    com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexIndexOverflowException: Cannot merge new index 65630 into a non-jumbo instruction!
  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 44.988 secs
Error: /home/tom/Development/cordova/tennistemple/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':transformClassesWithDexForArmv7Release'.
    com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexIndexOverflowException: Cannot merge new index 65630 into a non-jumbo instruction!
  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

App is blank when running on android device

Hi,

I am encountering a blank app when running the app on Android device using Genymotion emulator. Please see screenshot below.
If I remove the Crosswalk plugin, then the app is working properly.
I am using Ionic 3 and Genymotion, if that matters.
screen shot 2017-04-29 at 1 36 44 pm

TextureView doesn't support displaying a background drawable

Since ionic browser has been removed i installed this plugin without any issue.
Yesterday i tried my app on Android N i noticed that it crashes on start.

Any suggestions?

Here is the crash log:

02-16 10:37:51.971 10209 10209 E AndroidRuntime: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.UnsupportedOperationException: TextureView doesn't support displaying a background drawable
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:67)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.XWalkCoreWrapper.handlePostInit(XWalkCoreWrapper.java:129)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.XWalkLibraryLoader.finishInit(XWalkLibraryLoader.java:182)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.XWalkActivityDelegate.onActivateCompleted(XWalkActivityDelegate.java:171)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.XWalkLibraryLoader$ActivateTask.onPostExecute(XWalkLibraryLoader.java:349)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.XWalkLibraryLoader$ActivateTask.onPostExecute(XWalkLibraryLoader.java:317)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at android.os.AsyncTask.finish(AsyncTask.java:660)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at android.os.AsyncTask.-wrap1(AsyncTask.java)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:677)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:102)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:154)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6209)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: Caused by: java.lang.RuntimeException: java.lang.UnsupportedOperationException: TextureView doesn't support displaying a background drawable
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.ReflectConstructor.newInstance(ReflectConstructor.java:54)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.XWalkView.reflectionInit(XWalkView.java:2082)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:61)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	... 14 more
02-16 10:37:51.971 10209 10209 E AndroidRuntime: Caused by: java.lang.UnsupportedOperationException: TextureView doesn't support displaying a background drawable
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at android.view.TextureView.setBackgroundDrawable(TextureView.java:302)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at android.view.View.setBackground(View.java:18187)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at android.view.View.setBackgroundColor(View.java:18149)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.chromium.content.browser.ContentViewRenderView.initTextureView(ContentViewRenderView.java:68)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.chromium.content.browser.ContentViewRenderView.<init>(ContentViewRenderView.java:145)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.internal.XWalkContent$2.<init>(XWalkContent.java:191)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.internal.XWalkContent.setNativeContent(XWalkContent.java:191)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.internal.XWalkContent.<init>(XWalkContent.java:151)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.internal.XWalkViewInternal.initXWalkContent(XWalkViewInternal.java:383)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.internal.XWalkViewBridge.<init>(XWalkViewBridge.java:72)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at java.lang.reflect.Constructor.newInstance0(Native Method)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at java.lang.reflect.Constructor.newInstance(Constructor.java:430)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.ReflectConstructor.newInstance(ReflectConstructor.java:48)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	... 17 more
02-16 10:37:51.971 10209 10209 D AppTracker: App Event: crash

401 Unauthorized and angular

I'm using ionic (2.0.0) with cordova-plugin-crosswalk-webview.

When my backend replies a 401, I'm getting a "Authentication Required" popup from https://github.com/crosswalk-project/crosswalk/blob/e3259b966dcedd18dc456b8cc97cd1a52aad58ea/runtime/android/core_internal/src/org/xwalk/core/internal/XWalkResourceClientInternal.java#L389

But I don't want it, I want to handle this myself on the $http error promise.

So I tried adding https://github.com/dokoto/com.handler.auth so https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview/blob/master/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java#L132 find a plugin returning true, and by doing so avoiding super.onReceivedHttpAuthRequest to be called (which is the one from crosswalk, the one with the popup).

It works: I no longer have the "Authentication Required" popup, BUT the request looks "cancelled" or even "abandonned" as the request status is still "(pending)" in chromium debugger and I don't get a callback on the $http promise.

Is there a way to configure something so my 401s are left alone and bubble up like any other HTTP response up to angular? I can't find it.

Build failed [XWalkCordovaClientCertRequest.java:22: error: package org.xwalk.core does not exist]

[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaClientCertRequest.java:22: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.ClientCertRequest;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaClientCertRequest.java:31: error: cannot find symbol
[javac] private final ClientCertRequest request;
[javac] ^
[javac] symbol: class ClientCertRequest
[javac] location: class XWalkCordovaClientCertRequest
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaClientCertRequest.java:33: error: cannot find symbol
[javac] public XWalkCordovaClientCertRequest(ClientCertRequest request) {
[javac] ^
[javac] symbol: class ClientCertRequest
[javac] location: class XWalkCordovaClientCertRequest
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaCookieManager.java:22: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.XWalkCookieManager;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaCookieManager.java:26: error: cannot find symbol
[javac] protected XWalkCookieManager cookieManager = null;
[javac] ^
[javac] symbol: class XWalkCookieManager
[javac] location: class XWalkCordovaCookieManager
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaHttpAuthHandler.java:22: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.XWalkHttpAuthHandler;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaHttpAuthHandler.java:30: error: cannot find symbol
[javac] private final XWalkHttpAuthHandler handler;
[javac] ^
[javac] symbol: class XWalkHttpAuthHandler
[javac] location: class XWalkCordovaHttpAuthHandler
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaHttpAuthHandler.java:32: error: cannot find symbol
[javac] public XWalkCordovaHttpAuthHandler(XWalkHttpAuthHandler handler) {
[javac] ^
[javac] symbol: class XWalkHttpAuthHandler
[javac] location: class XWalkCordovaHttpAuthHandler
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:32: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.ClientCertRequest;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:33: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.XWalkHttpAuthHandler;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:34: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.XWalkResourceClient;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:35: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.XWalkView;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:40: error: cannot find symbol
[javac] public class XWalkCordovaResourceClient extends XWalkResourceClient {
[javac] ^
[javac] symbol: class XWalkResourceClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:51: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.XWalkActivityDelegate;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:52: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.XWalkNavigationHistory;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:53: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.XWalkView;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:54: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.XWalkGetBitmapCallback;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:60: error: cannot find symbol
[javac] public void onReceivedLoadError(XWalkView view, int errorCode, String description,
[javac] ^
[javac] symbol: class XWalkView
[javac] location: class XWalkCordovaResourceClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:68: error: cannot find symbol
[javac] public WebResourceResponse shouldInterceptLoadRequest(XWalkView view, String url) {
[javac] ^
[javac] symbol: class XWalkView
[javac] location: class XWalkCordovaResourceClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:98: error: cannot find symbol
[javac] public boolean shouldOverrideUrlLoading(XWalkView view, String url) {
[javac] ^
[javac] symbol: class XWalkView
[javac] location: class XWalkCordovaResourceClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:111: error: cannot find symbol
[javac] public void onReceivedSslError(XWalkView view, ValueCallback callback, SslError error) {
[javac] ^
[javac] symbol: class XWalkView
[javac] location: class XWalkCordovaResourceClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:132: error: cannot find symbol
[javac] public void onReceivedHttpAuthRequest(XWalkView view, XWalkHttpAuthHandler handler,
[javac] ^
[javac] symbol: class XWalkView
[javac] location: class XWalkCordovaResourceClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:132: error: cannot find symbol
[javac] public void onReceivedHttpAuthRequest(XWalkView view, XWalkHttpAuthHandler handler,
[javac] ^
[javac] symbol: class XWalkHttpAuthHandler
[javac] location: class XWalkCordovaResourceClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:148: error: cannot find symbol
[javac] public void onReceivedClientCertRequest(XWalkView view, ClientCertRequest request) {
[javac] ^
[javac] symbol: class XWalkView
[javac] location: class XWalkCordovaResourceClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:148: error: cannot find symbol
[javac] public void onReceivedClientCertRequest(XWalkView view, ClientCertRequest request) {
[javac] ^
[javac] symbol: class ClientCertRequest
[javac] location: class XWalkCordovaResourceClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:4: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.XWalkPreferences;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:5: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.XWalkResourceClient;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:6: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.XWalkUIClient;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:7: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.XWalkView;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:22: error: cannot find symbol
[javac] public class XWalkCordovaView extends XWalkView implements CordovaWebViewEngine.EngineView {
[javac] ^
[javac] symbol: class XWalkView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:78: error: cannot find symbol
[javac] protected XWalkActivityDelegate activityDelegate;
[javac] ^
[javac] symbol: class XWalkActivityDelegate
[javac] location: class XWalkWebViewEngine
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:219: error: cannot find symbol
[javac] private static void exposeJsInterface(XWalkView webView, CordovaBridge bridge) {
[javac] ^
[javac] symbol: class XWalkView
[javac] location: class XWalkWebViewEngine
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java:31: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.XWalkJavascriptResult;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java:32: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.XWalkUIClient;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java:33: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.XWalkView;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java:37: error: cannot find symbol
[javac] public class XWalkCordovaUiClient extends XWalkUIClient {
[javac] ^
[javac] symbol: class XWalkUIClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:73: error: cannot find symbol
[javac] public void setResourceClient(XWalkResourceClient client) {
[javac] ^
[javac] symbol: class XWalkResourceClient
[javac] location: class XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:82: error: cannot find symbol
[javac] public void setUIClient(XWalkUIClient client) {
[javac] ^
[javac] symbol: class XWalkUIClient
[javac] location: class XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java:54: error: cannot find symbol
[javac] public boolean onJavascriptModalDialog(XWalkView view, JavascriptMessageType type, String url,
[javac] ^
[javac] symbol: class XWalkView
[javac] location: class XWalkCordovaUiClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java:54: error: cannot find symbol
[javac] public boolean onJavascriptModalDialog(XWalkView view, JavascriptMessageType type, String url,
[javac] ^
[javac] symbol: class JavascriptMessageType
[javac] location: class XWalkCordovaUiClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java:55: error: cannot find symbol
[javac] String message, String defaultValue, XWalkJavascriptResult result) {
[javac] ^
[javac] symbol: class XWalkJavascriptResult
[javac] location: class XWalkCordovaUiClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java:76: error: cannot find symbol
[javac] public boolean onJsAlert(XWalkView view, String url, String message,
[javac] ^
[javac] symbol: class XWalkView
[javac] location: class XWalkCordovaUiClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java:77: error: cannot find symbol
[javac] final XWalkJavascriptResult result) {
[javac] ^
[javac] symbol: class XWalkJavascriptResult
[javac] location: class XWalkCordovaUiClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java:94: error: cannot find symbol
[javac] public boolean onJsConfirm(XWalkView view, String url, String message,
[javac] ^
[javac] symbol: class XWalkView
[javac] location: class XWalkCordovaUiClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java:95: error: cannot find symbol
[javac] final XWalkJavascriptResult result) {
[javac] ^
[javac] symbol: class XWalkJavascriptResult
[javac] location: class XWalkCordovaUiClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java:117: error: cannot find symbol
[javac] public boolean onJsPrompt(XWalkView view, String origin, String message, String defaultValue,
[javac] ^
[javac] symbol: class XWalkView
[javac] location: class XWalkCordovaUiClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java:118: error: cannot find symbol
[javac] final XWalkJavascriptResult result) {
[javac] ^
[javac] symbol: class XWalkJavascriptResult
[javac] location: class XWalkCordovaUiClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java:149: error: cannot find symbol
[javac] public void onPageLoadStarted(XWalkView view, String url) {
[javac] ^
[javac] symbol: class XWalkView
[javac] location: class XWalkCordovaUiClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java:167: error: cannot find symbol
[javac] public void onPageLoadStopped(XWalkView view, String url, LoadStatus status) {
[javac] ^
[javac] symbol: class XWalkView
[javac] location: class XWalkCordovaUiClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java:167: error: cannot find symbol
[javac] public void onPageLoadStopped(XWalkView view, String url, LoadStatus status) {
[javac] ^
[javac] symbol: class LoadStatus
[javac] location: class XWalkCordovaUiClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java:179: error: cannot find symbol
[javac] public void openFileChooser(XWalkView view, final ValueCallback uploadFile,
[javac] ^
[javac] symbol: class XWalkView
[javac] location: class XWalkCordovaUiClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkExposedJsApi.java:26: error: package org.xwalk.core does not exist
[javac] import org.xwalk.core.JavascriptInterface;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkExposedJsApi.java:35: error: cannot find symbol
[javac] @JavascriptInterface
[javac] ^
[javac] symbol: class JavascriptInterface
[javac] location: class XWalkExposedJsApi
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkExposedJsApi.java:43: error: cannot find symbol
[javac] @JavascriptInterface
[javac] ^
[javac] symbol: class JavascriptInterface
[javac] location: class XWalkExposedJsApi
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkExposedJsApi.java:48: error: cannot find symbol
[javac] @JavascriptInterface
[javac] ^
[javac] symbol: class JavascriptInterface
[javac] location: class XWalkExposedJsApi
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaCookieManager.java:29: error: cannot find symbol
[javac] cookieManager = new XWalkCookieManager();
[javac] ^
[javac] symbol: class XWalkCookieManager
[javac] location: class XWalkCordovaCookieManager
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:59: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:67: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:97: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:110: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:131: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:144: error: cannot find symbol
[javac] super.onReceivedHttpAuthRequest(view, handler, host, realm);
[javac] ^
[javac] symbol: variable super
[javac] location: class XWalkCordovaResourceClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:147: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:157: error: cannot find symbol
[javac] super.onReceivedClientCertRequest(view, request);
[javac] ^
[javac] symbol: variable super
[javac] location: class XWalkCordovaResourceClient
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:104: error: cannot find symbol
[javac] XWalkWebViewEngine.this.webView.onNewIntent(intent);
[javac] ^
[javac] symbol: method onNewIntent(Intent)
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:114: error: cannot find symbol
[javac] new XWalkGetBitmapCallback() {
[javac] ^
[javac] symbol: class XWalkGetBitmapCallback
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:136: error: cannot find symbol
[javac] webView.load(startUrl, null);
[javac] ^
[javac] symbol: method load(String,)
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:140: error: cannot find symbol
[javac] activityDelegate = new XWalkActivityDelegate((Activity) context, cancelCommand, completeCommand);
[javac] ^
[javac] symbol: class XWalkActivityDelegate
[javac] location: class XWalkWebViewEngine
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:175: error: cannot find symbol
[javac] webView.setNetworkAvailable(value);
[javac] ^
[javac] symbol: method setNetworkAvailable(boolean)
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:193: error: incompatible types: XWalkCordovaView cannot be converted to View
[javac] return webView;
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:197: error: cannot find symbol
[javac] webView.setVerticalScrollBarEnabled(false);
[javac] ^
[javac] symbol: method setVerticalScrollBarEnabled(boolean)
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:200: error: cannot find symbol
[javac] webView.setZOrderOnTop(zOrderOnTop);
[javac] ^
[javac] symbol: method setZOrderOnTop(boolean)
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:205: error: cannot find symbol
[javac] webView.setUserAgentString(xwalkUserAgent);
[javac] ^
[javac] symbol: method setUserAgentString(String)
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:210: error: cannot find symbol
[javac] webView.setUserAgentString(webView.getUserAgentString() + " " + appendUserAgent);
[javac] ^
[javac] symbol: method getUserAgentString()
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:238: error: cannot find symbol
[javac] webView.getExtensionManager().loadExtension(XWALK_EXTENSIONS_FOLDER + File.separator + path);
[javac] ^
[javac] symbol: method getExtensionManager()
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:245: error: cannot find symbol
[javac] return this.webView.getNavigationHistory().canGoBack();
[javac] ^
[javac] symbol: method getNavigationHistory()
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:250: error: cannot find symbol
[javac] if (this.webView.getNavigationHistory().canGoBack()) {
[javac] ^
[javac] symbol: method getNavigationHistory()
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:251: error: package XWalkNavigationHistory does not exist
[javac] this.webView.getNavigationHistory().navigate(XWalkNavigationHistory.Direction.BACKWARD, 1);
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:251: error: cannot find symbol
[javac] this.webView.getNavigationHistory().navigate(XWalkNavigationHistory.Direction.BACKWARD, 1);
[javac] ^
[javac] symbol: method getNavigationHistory()
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:264: error: cannot find symbol
[javac] webView.resumeTimers();
[javac] ^
[javac] symbol: method resumeTimers()
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:271: error: cannot find symbol
[javac] webView.onDestroy();
[javac] ^
[javac] symbol: method onDestroy()
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:277: error: cannot find symbol
[javac] this.webView.getNavigationHistory().clear();
[javac] ^
[javac] symbol: method getNavigationHistory()
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:283: error: cannot find symbol
[javac] this.webView.stopLoading();
[javac] ^
[javac] symbol: method stopLoading()
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:289: error: cannot find symbol
[javac] webView.clearCache(true);
[javac] ^
[javac] symbol: method clearCache(boolean)
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:295: error: cannot find symbol
[javac] return this.webView.getUrl();
[javac] ^
[javac] symbol: method getUrl()
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:309: error: cannot find symbol
[javac] webView.load(url, null);
[javac] ^
[javac] symbol: method load(String,)
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:319: error: cannot find symbol
[javac] webView.evaluateJavascript(js, callback);
[javac] ^
[javac] symbol: method evaluateJavascript(String,ValueCallback)
[javac] location: variable webView of type XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:44: error: cannot find symbol
[javac] XWalkPreferences.setValue(XWalkPreferences.ANIMATABLE_XWALK_VIEW, prefAnimatable || manifestAnimatable);
[javac] ^
[javac] symbol: variable XWalkPreferences
[javac] location: class XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:44: error: cannot find symbol
[javac] XWalkPreferences.setValue(XWalkPreferences.ANIMATABLE_XWALK_VIEW, prefAnimatable || manifestAnimatable);
[javac] ^
[javac] symbol: variable XWalkPreferences
[javac] location: class XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:46: error: cannot find symbol
[javac] XWalkPreferences.setValue(XWalkPreferences.REMOTE_DEBUGGING, true);
[javac] ^
[javac] symbol: variable XWalkPreferences
[javac] location: class XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:46: error: cannot find symbol
[javac] XWalkPreferences.setValue(XWalkPreferences.REMOTE_DEBUGGING, true);
[javac] ^
[javac] symbol: variable XWalkPreferences
[javac] location: class XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:48: error: cannot find symbol
[javac] XWalkPreferences.setValue(XWalkPreferences.JAVASCRIPT_CAN_OPEN_WINDOW, true);
[javac] ^
[javac] symbol: variable XWalkPreferences
[javac] location: class XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:48: error: cannot find symbol
[javac] XWalkPreferences.setValue(XWalkPreferences.JAVASCRIPT_CAN_OPEN_WINDOW, true);
[javac] ^
[javac] symbol: variable XWalkPreferences
[javac] location: class XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:49: error: cannot find symbol
[javac] XWalkPreferences.setValue(XWalkPreferences.ALLOW_UNIVERSAL_ACCESS_FROM_FILE, true);
[javac] ^
[javac] symbol: variable XWalkPreferences
[javac] location: class XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:49: error: cannot find symbol
[javac] XWalkPreferences.setValue(XWalkPreferences.ALLOW_UNIVERSAL_ACCESS_FROM_FILE, true);
[javac] ^
[javac] symbol: variable XWalkPreferences
[javac] location: class XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:72: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:78: error: cannot find symbol
[javac] super.setResourceClient(client);
[javac] ^
[javac] symbol: variable super
[javac] location: class XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:81: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:87: error: cannot find symbol
[javac] super.setUIClient(client);
[javac] ^
[javac] symbol: variable super
[javac] location: class XWalkCordovaView
[javac] /home/kasumba/Documents/ionic apps/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:93: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 100 errors
[javac] 3 warnings

Execution failed for task ':compileArmv7DebugJavaWithJavac'.

I am just trying to get this installed and tried the most basic of implementations I believe.

config.xml

<preference name="xwalkVersion" value="org.xwalk:xwalk_core_library_beta:14+" />

System
Phonegap 6.5.0
Android v25
Linux Mint.

hutber@hutber:/var/www//app$ phonegap run android
[phonegap] executing 'cordova run android ' ...
ANDROID_HOME=/home/hutber/Android/Sdk

JAVA_HOME=/usr/lib/jvm/java-8-oracle

Subproject Path: CordovaLib

null


org.xwalk:xwalk_core_library_beta:14+


Incremental java compilation is an incubating feature.


Download https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library_beta/14.43.343.25/xwalk_core_library_beta-14.43.343.25.pom


Download https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library_beta/14.43.343.25/xwalk_core_library_beta-14.43.343.25.aar


:preBuild
 
UP-TO-DATE


:preArmv7DebugBuild
 
UP-TO-DATE


:checkArmv7DebugManifest
:preX86DebugBuild UP-TO-DATE


:CordovaLib:preBuild
 
UP-TO-DATE


:CordovaLib:preDebugBuild
 
UP-TO-DATE


:CordovaLib:checkDebugManifest

:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl 
UP-TO-DATE

:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:compileLint UP-TO-DATE
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugShaders UP-TO-DATE

:CordovaLib:compileDebugShaders
 
UP-TO-DATE


:CordovaLib:generateDebugAssets
 
UP-TO-DATE


:CordovaLib:mergeDebugAssets
 
UP-TO-DATE


:CordovaLib:mergeDebugProguardFiles
 
UP-TO-DATE


:CordovaLib:packageDebugRenderscript
 
UP-TO-DATE


:CordovaLib:compileDebugRenderscript
 
UP-TO-DATE


:CordovaLib:generateDebugResValues
 
UP-TO-DATE

:CordovaLib:generateDebugResources UP-TO-DATE
:CordovaLib:packageDebugResources UP-TO-DATE
:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:generateDebugBuildConfig UP-TO-DATE
:CordovaLib:processDebugResources
 
UP-TO-DATE

:CordovaLib:generateDebugSources
 
UP-TO-DATE


:CordovaLib:incrementalDebugJavaCompilationSafeguard
 
UP-TO-DATE

:CordovaLib:compileDebugJavaWithJavac UP-TO-DATE
:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
:CordovaLib:mergeDebugJniLibFolders UP-TO-DATE
:CordovaLib:transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE
:CordovaLib:transformNative_libsWithSyncJniLibsForDebug UP-TO-DATE
:CordovaLib:bundleDebug UP-TO-DATE
:prepareAndroidCordovaLibUnspecifiedDebugLibrary UP-TO-DATE
:preArmv7ReleaseBuild UP-TO-DATE
:preX86ReleaseBuild UP-TO-DATE
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl UP-TO-DATE
:CordovaLib:compileReleaseNdk UP-TO-DATE
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseShaders UP-TO-DATE
:CordovaLib:compileReleaseShaders UP-TO-DATE
:CordovaLib:generateReleaseAssets UP-TO-DATE

:CordovaLib:mergeReleaseAssets
 
UP-TO-DATE

:CordovaLib:mergeReleaseProguardFiles UP-TO-DATE
:CordovaLib:packageReleaseRenderscript
 
UP-TO-DATE


:CordovaLib:compileReleaseRenderscript
 
UP-TO-DATE


:CordovaLib:generateReleaseResValues
 
UP-TO-DATE


:CordovaLib:generateReleaseResources
 
UP-TO-DATE


:CordovaLib:packageReleaseResources
 
UP-TO-DATE

:CordovaLib:processReleaseManifest 
UP-TO-DATE
:CordovaLib:generateReleaseBuildConfig UP-TO-DATE
:CordovaLib:processReleaseResources 
UP-TO-DATE
:CordovaLib:generateReleaseSources
 
UP-TO-DATE
:CordovaLib:incrementalReleaseJavaCompilationSafeguard
 
UP-TO-DATE
:CordovaLib:compileReleaseJavaWithJavac
 
UP-TO-DATE
:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease
 UP-TO-DATE
:CordovaLib:mergeReleaseJniLibFolders
 
UP-TO-DATE
:CordovaLib:transformNative_libsWithMergeJniLibsForRelease
 UP-TO-DATE


:CordovaLib:transformNative_libsWithSyncJniLibsForRelease
 UP-TO-DATE

:CordovaLib:bundleRelease
 
UP-TO-DATE
:prepareOrgXwalkXwalk_core_library_beta144334325Library


:prepareArmv7DebugDependencies


:compileArmv7DebugAidl
 UP-TO-DATE

:compileArmv7DebugRenderscript
 UP-TO-DATE

:generateArmv7DebugBuildConfig
 UP-TO-DATE

:mergeArmv7DebugShaders
 
UP-TO-DATE

:compileArmv7DebugShaders
 
UP-TO-DATE

:generateArmv7DebugAssets UP-TO-DATE
:mergeArmv7DebugAssets
 UP-TO-DATE

:createXwalkCommandLineFileArmv7Debug

:generateArmv7DebugResValues UP-TO-DATE
:generateArmv7DebugResources UP-TO-DATE
:mergeArmv7DebugResources


:processArmv7DebugManifest

:processArmv7DebugResources


:generateArmv7DebugSources

:incrementalArmv7DebugJavaCompilationSafeguard
 
UP-TO-DATE
:compileArmv7DebugJavaWithJavac


:compileArmv7DebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaClientCertRequest.java:22: error: cannot find symbol

import org.xwalk.core.ClientCertRequest;
                     ^
  symbol:   class ClientCertRequest
  location: package org.xwalk.core

/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaClientCertRequest.java:31: error: cannot find symbol
    private final ClientCertRequest request;
                  ^
  symbol:   class ClientCertRequest
  location: class XWalkCordovaClientCertRequest
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaClientCertRequest.java:33: error: cannot find symbol

    public XWalkCordovaClientCertRequest(ClientCertRequest request) {
                                         ^
  symbol:   class ClientCertRequest
  location: class XWalkCordovaClientCertRequest

/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:54: error: cannot find symbol
import org.xwalk.core.XWalkGetBitmapCallback;
                     ^
  symbol:   class XWalkGetBitmapCallback
  location: package org.xwalk.core

/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:32: error: cannot find symbol

import org.xwalk.core.ClientCertRequest;
                     ^

  symbol:   class ClientCertRequest
  location: package org.xwalk.core


/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:33: error: cannot find symbol

import org.xwalk.core.XWalkHttpAuthHandler;

                     ^

  symbol:   class XWalkHttpAuthHandler

  location: package org.xwalk.core

/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:132: error: cannot find symbol
    public void onReceivedHttpAuthRequest(XWalkView view, XWalkHttpAuthHandler handler,
                                                          ^
  symbol:   class XWalkHttpAuthHandler
  location: class XWalkCordovaResourceClient

/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:148: error: cannot find symbol
    public void onReceivedClientCertRequest(XWalkView view, ClientCertRequest request) {
                                                            ^
  symbol:   class ClientCertRequest
  location: class XWalkCordovaResourceClient

/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaHttpAuthHandler.java:22: error: cannot find symbol
import org.xwalk.core.XWalkHttpAuthHandler;
                     ^
  symbol:   class XWalkHttpAuthHandler
  location: package org.xwalk.core

/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaHttpAuthHandler.java:30: error: cannot find symbol
    private final XWalkHttpAuthHandler handler;
                  ^
  symbol:   class XWalkHttpAuthHandler
  location: class XWalkCordovaHttpAuthHandler
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaHttpAuthHandler.java:32: error: cannot find symbol
    public XWalkCordovaHttpAuthHandler(XWalkHttpAuthHandler handler) {
                                       ^
  symbol:   class XWalkHttpAuthHandler
  location: class XWalkCordovaHttpAuthHandler

/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:114: error: cannot find symbol
                                            new XWalkGetBitmapCallback() {
                                                ^

  symbol: class XWalkGetBitmapCallback

/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:210: error: cannot find symbol
            webView.setUserAgentString(webView.getUserAgentString() + " " + appendUserAgent);
                                              ^
  symbol:   method getUserAgentString()

  location: variable webView of type XWalkCordovaView

/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:238: error: cannot find symbol
            webView.getExtensionManager().loadExtension(XWALK_EXTENSIONS_FOLDER + File.separator + path);
                   ^

  symbol:   method getExtensionManager()
  location: variable webView of type XWalkCordovaView

/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:93: error: method does not override or implement a method from a supertype

    @Override
    ^

/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:131: error: method does not override or implement a method from a supertype
    @Override
    ^

/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:147: error: method does not override or implement a method from a supertype
    @Override
    ^

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.
17 errors

:compileArmv7DebugJavaWithJavac FAILED


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileArmv7DebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


BUILD FAILED

Total time: 30.001 secs

Error: /var/www/kindred.com/app/platforms/android/gradlew: Command failed with exit code 1 Error output:
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaClientCertRequest.java:22: error: cannot find symbol
import org.xwalk.core.ClientCertRequest;
                     ^
  symbol:   class ClientCertRequest
  location: package org.xwalk.core
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaClientCertRequest.java:31: error: cannot find symbol
    private final ClientCertRequest request;
                  ^
  symbol:   class ClientCertRequest
  location: class XWalkCordovaClientCertRequest
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaClientCertRequest.java:33: error: cannot find symbol
    public XWalkCordovaClientCertRequest(ClientCertRequest request) {
                                         ^
  symbol:   class ClientCertRequest
  location: class XWalkCordovaClientCertRequest
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:54: error: cannot find symbol
import org.xwalk.core.XWalkGetBitmapCallback;
                     ^
  symbol:   class XWalkGetBitmapCallback
  location: package org.xwalk.core
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:32: error: cannot find symbol
import org.xwalk.core.ClientCertRequest;
                     ^
  symbol:   class ClientCertRequest
  location: package org.xwalk.core
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:33: error: cannot find symbol
import org.xwalk.core.XWalkHttpAuthHandler;
                     ^
  symbol:   class XWalkHttpAuthHandler
  location: package org.xwalk.core
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:132: error: cannot find symbol
    public void onReceivedHttpAuthRequest(XWalkView view, XWalkHttpAuthHandler handler,
                                                          ^
  symbol:   class XWalkHttpAuthHandler
  location: class XWalkCordovaResourceClient
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:148: error: cannot find symbol
    public void onReceivedClientCertRequest(XWalkView view, ClientCertRequest request) {
                                                            ^
  symbol:   class ClientCertRequest
  location: class XWalkCordovaResourceClient
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaHttpAuthHandler.java:22: error: cannot find symbol
import org.xwalk.core.XWalkHttpAuthHandler;
                     ^
  symbol:   class XWalkHttpAuthHandler
  location: package org.xwalk.core
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaHttpAuthHandler.java:30: error: cannot find symbol
    private final XWalkHttpAuthHandler handler;
                  ^
  symbol:   class XWalkHttpAuthHandler
  location: class XWalkCordovaHttpAuthHandler
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaHttpAuthHandler.java:32: error: cannot find symbol
    public XWalkCordovaHttpAuthHandler(XWalkHttpAuthHandler handler) {
                                       ^
  symbol:   class XWalkHttpAuthHandler
  location: class XWalkCordovaHttpAuthHandler
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:114: error: cannot find symbol
                                            new XWalkGetBitmapCallback() {
                                                ^
  symbol: class XWalkGetBitmapCallback
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:210: error: cannot find symbol
            webView.setUserAgentString(webView.getUserAgentString() + " " + appendUserAgent);
                                              ^
  symbol:   method getUserAgentString()
  location: variable webView of type XWalkCordovaView
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:238: error: cannot find symbol
            webView.getExtensionManager().loadExtension(XWALK_EXTENSIONS_FOLDER + File.separator + path);
                   ^
  symbol:   method getExtensionManager()
  location: variable webView of type XWalkCordovaView
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:93: error: method does not override or implement a method from a supertype
    @Override
    ^
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:131: error: method does not override or implement a method from a supertype
    @Override
    ^
/var/www/kindred.com/app/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:147: error: method does not override or implement a method from a supertype
    @Override
    ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
17 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileArmv7DebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

User prompted to download Crosswalk after clearing cache

I've got an odd bug. Crosswalk works fine, but on the Pixel XL if the user goes into Settings > Apps > (app name) > and then clicks on "Clear Data" and "Clear Cache" they get the message

"The Crosswalk Project Service must be updated to match the CPU architecture of the device. Please install it from the app store, then restart (appname)."

I've only see this error mentioned by others when apps start. But the app runs fine unless the users goes into settings and clears the cache. It's also only on the Pixel XL. On other devices, it's fine.

Any idea what could be causing this?

Thanks!

How to add launch_screen settings ?

i want to add following launch_screen settings

"xwalk_launch_screen": { "ready_when": "custom", "portrait": { "background_color": "#ff0000", "background_image": "bgfoo.png 1x, bgfoo-2x.png 2x", "image": "foo.png 1x, foo-2x.png 2x", "image_border": "30px 40px stretch", } }

Multidex problem

Hello, i got a problem, on cordova project with installed crosswalk and cordova-plugin-multidex. this plugin just enabled multidex supporting. On Android <5.0 versions my application crashing on launching phase. When i try to run application without crosswalk application launch successfully. Dalvik log throw some errors:
Could not find class 'org.xwalk.core.XWalkActivityDelegate', referenced from method org.crosswalk.engine.XWalkWebViewEngine.
and some lines after
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{ com.company.app/com.company.app.MainActivity }: java.lang.RuntimeException: Failed to create webview.

Disable pull to refresh

I would like to disable pull to refresh. I've seen from crosswalk docs we should be able to pass
--disable-pull-to-refresh-effect as a parameter.

Can you please tell how can this be done?

There are more people needing this here: ionic-team/ionic-cli/issues/376

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.