5 Replies Latest reply on Mar 5, 2017 7:02 AM by pyymenta

    App not building with crosswalk plugin in my app new update

    slimkyd70099163 Level 1

      Since 2weeks ago my app has been runing with crosswalk and is still running well with it. But today as I have made an update on the app with touching my config.xml.

      When i try to build in your build.phongap I get error in the build log.

      But when i remove crosswalk from the config it builds again. Build there is no problem in the first 2weeks i built with crosswalk intalled. But now I can't build my again with crosswalk so it makes me to change the crosswalk line of the config.xml and still no success.

      This is the error

       

      :generateArmv7DebugSources

      :incrementalArmv7DebugJavaCompilationSafeguard

      :compileArmv7DebugJavaWithJavac

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

      /project/src/org/crosswalk/engine/XWalkWebViewEngine.java:47: error: XWalkWebViewEngine is not abstract and does not override abstract method evaluateJavascript(String,ValueCallback<String>) in CordovaWebViewEngine

      public class XWalkWebViewEngine implements CordovaWebViewEngine {

        ^

      Note: /project/src/org/crosswalk/engine/XWalkCordovaResourceClient.java uses or overrides a deprecated API.

      Note: Recompile with -Xlint:deprecation for details.

      1 error

      :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: 5.302 secs

      Error: /project/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.

      Warning: AndroidManifest.xml already defines debuggable (in http://schemas.android.com/apk/res/android); using existing value in manifest.

       

      /project/src/org/crosswalk/engine/XWalkWebViewEngine.java:47: error: XWalkWebViewEngine is not abstract and does not override abstract method evaluateJavascript(String,ValueCallback<String>) in CordovaWebViewEngine

      public class XWalkWebViewEngine implements CordovaWebViewEngine {

        ^

      Note: /project/src/org/crosswalk/engine/XWalkCordovaResourceClient.java uses or overrides a deprecated API.

      Note: Recompile with -Xlint:deprecation for details.

      1 error

       

      FAILURE: Build failed with an exception.

       

       

      And this is my config.xml for crosswalk plugin

       

        <plugin name="cordova-plugin-crosswalk-webview" version="1.6.1">

          <param name="XWALK_MODE" value="lite" />