# Installed crosswalk. Gives error

**URL:** <https://forum.ionicframework.com/t/installed-crosswalk-gives-error/103203>\
**Category:** ionic-v3\
**Created:** [August 25, 2017, 9:18am UTC](https://forum.ionicframework.com/t/installed-crosswalk-gives-error/103203 "2017-08-25T09:18:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arnoldparge](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/arnoldparge/32/111355_2.png) [@arnoldparge](https://forum.ionicframework.com/u/arnoldparge)\
**Post date:** [August 25, 2017, 9:18am UTC](https://forum.ionicframework.com/t/installed-crosswalk-gives-error/103203/1 "2017-08-25T09:18:00Z")

</div>

I installed crosswalk with command:

`cordova plugin add cordova-plugin-crosswalk-webview`

OUTPUT:

```auto

Unmet project requirements for latest version of cordova-plugin-crosswalk-webview:
    cordova (0.0.1 in project, >=5.2.0 required)
Fetching highest version of cordova-plugin-crosswalk-webview that this project supports: 1.8.0 (latest is 2.3.0)
Installing "cordova-plugin-crosswalk-webview" for android
ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_131
Subproject Path: CordovaLib
Parallel execution is an incubating feature.
google-services plugin could not detect any version for com.google.android.gms or com.google.firebase, default version: 9.0.0 will be used.
please apply google-services plugin at the bottom of the build file.
Incremental java compilation is an incubating feature.
:clean
:CordovaLib:clean

BUILD SUCCESSFUL

Total time: 11.805 secs
Subproject Path: CordovaLib
Saved plugin info for "cordova-plugin-crosswalk-webview" to config.xml
Adding cordova-plugin-crosswalk-webview to package.json

```

I ran command : `ionic cordova run android --device --prod`

ERROR I got is:

```auto
C:\Users\PARGE\Documents\ionic\muktanew\platforms\android\src\org\crosswalk\engine\XWalkWebViewEngine.java:55: error: XWalkWebViewEngine is not abstract and does not override abstract method evaluateJavascript(String,ValueCallback<String>) in CordovaWebViewEngine
public class XWalkWebViewEngine implements CordovaWebViewEngine {
       ^
:compileArmv7DebugJavaWithJavac FAILED

BUILD FAILED

Total time: 55.279 secs
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.
1 error

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.
Error: cmd: 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.
C:\Users\PARGE\Documents\ionic\muktanew\platforms\android\src\org\crosswalk\engine\XWalkWebViewEngine.java:55: error: XWalkWebViewEngine is not abstract and does not override abstract method evaluateJavascript(String,ValueCallback<String>) in CordovaWebViewEngine
public class XWalkWebViewEngine implements CordovaWebViewEngine {
       ^
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.
1 error

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.

[ERROR] An error occurred while running cordova run android --device (exit code 1).

```

How to fix this?

---

<div class="post-metadata">

**Author:** ![arnoldparge](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/arnoldparge/32/111355_2.png) [@arnoldparge](https://forum.ionicframework.com/u/arnoldparge)\
**Post date:** [August 31, 2017, 6:53pm UTC](https://forum.ionicframework.com/t/installed-crosswalk-gives-error/103203/2 "2017-08-31T18:53:14Z")

</div>

After a lot of research, found the solution!! YUHUUU!!  
There is problem with the crosswalk java files.  
It dowloads the wrong or maybe the old files.

Download [this](https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview/tree/master/platforms/android/src/org/crosswalk/engine) repository and replace the files in platforms\android\src\org\crosswalk\engine with the correct one from the downloaded zip.

**Note:** Before Crosswalk my app size was around 2-3 MB and after Crosswalk the size of my app was around 60 MB 😱😱 YES, you read it right!
