Skip to content
This repository has been archived by the owner on Jun 2, 2018. It is now read-only.

XWalkWebViewEngine is no't abstract. #68

Open
zhougonglai opened this issue Nov 10, 2016 · 5 comments
Open

XWalkWebViewEngine is no't abstract. #68

zhougonglai opened this issue Nov 10, 2016 · 5 comments

Comments

@zhougonglai
Copy link

qq20161110-0 2x

I don't know what happened, just in this happens today.!
@fujunwei
Copy link
Contributor

Please update cordova crosswalk plugin

@zhougonglai
Copy link
Author

Really useful!

@TrueGeek
Copy link

I'm getting this error but I'm already at version 2.0.0. Is there anything else that can be tried?

@TrueGeek
Copy link

Okay, got it working. Adding and removing the plugin (via the command line) gave me the same v2.0.0.

But if did these steps I got version 2.2.0:

  • Removed the plugin via the command line
  • Removed references to the plugin manually from config.xml and plugins/android.json
  • Removed the android platform
  • Readded the adroid platform
  • Readded the plugin via the command line

@cadesalaberry
Copy link

For reference (and google indexing), here is the full build log before the crash I got:

cordova-custom-config: Skipping auto-restore of config file backup(s)
cordova-custom-config: Applied custom config from config.xml to /home/cadesalaberry/Apps/Cordova/customization/platforms/android/AndroidManifest.xml
ANDROID_HOME=/home/cadesalaberry/Android/Sdk
JAVA_HOME=/usr/java/latest
Reading build config file: /home/cadesalaberry/Apps/Cordova/customization/build.json
Subproject Path: CordovaLib
null
org.xwalk:xwalk_core_library:20+
Incremental java compilation is an incubating feature.
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl
:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:compileLint
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugShaders
:CordovaLib:compileDebugShaders
:CordovaLib:generateDebugAssets
:CordovaLib:mergeDebugAssets
:CordovaLib:mergeDebugProguardFiles UP-TO-DATE
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:compileDebugRenderscript
:CordovaLib:generateDebugResValues
:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources
:CordovaLib:processDebugManifest
:CordovaLib:generateDebugBuildConfig
:CordovaLib:processDebugResources
:CordovaLib:generateDebugSources
:CordovaLib:incrementalDebugJavaCompilationSafeguard
:CordovaLib:compileDebugJavaWithJavac
:CordovaLib:compileDebugJavaWithJavac - 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.
:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForDebug
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug
:CordovaLib:mergeDebugJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForDebug
:CordovaLib:transformNative_libsWithSyncJniLibsForDebug
:CordovaLib:bundleDebug
:prepareAndroidCordovaLibUnspecifiedDebugLibrary
:preReleaseBuild UP-TO-DATE
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl
:CordovaLib:compileReleaseNdk UP-TO-DATE
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseShaders
:CordovaLib:compileReleaseShaders
:CordovaLib:generateReleaseAssets
:CordovaLib:mergeReleaseAssets
:CordovaLib:mergeReleaseProguardFiles UP-TO-DATE
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:compileReleaseRenderscript
:CordovaLib:generateReleaseResValues
:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources
:CordovaLib:processReleaseManifest
:CordovaLib:generateReleaseBuildConfig
:CordovaLib:processReleaseResources
:CordovaLib:generateReleaseSources
:CordovaLib:incrementalReleaseJavaCompilationSafeguard
:CordovaLib:compileReleaseJavaWithJavac
:CordovaLib:compileReleaseJavaWithJavac - 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.
:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForRelease
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease
:CordovaLib:mergeReleaseJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForRelease
:CordovaLib:transformNative_libsWithSyncJniLibsForRelease
:CordovaLib:bundleRelease
:prepareComAndroidSupportSupportCompat2501Library
:prepareComAndroidSupportSupportCoreUi2501Library
:prepareComAndroidSupportSupportCoreUtils2501Library
:prepareComAndroidSupportSupportFragment2501Library
:prepareComAndroidSupportSupportMediaCompat2501Library
:prepareComAndroidSupportSupportV132340Library
:prepareComAndroidSupportSupportV42501Library
:prepareComCrashlyticsSdkAndroidAnswers136Library
:prepareComCrashlyticsSdkAndroidBeta114Library
:prepareComCrashlyticsSdkAndroidCrashlytics255Library
:prepareComCrashlyticsSdkAndroidCrashlyticsCore238Library
:prepareComGoogleAndroidGmsPlayServicesBase980Library
:prepareComGoogleAndroidGmsPlayServicesBasement980Library
:prepareComGoogleAndroidGmsPlayServicesGcm980Library
:prepareComGoogleAndroidGmsPlayServicesIid980Library
:prepareComGoogleAndroidGmsPlayServicesTasks980Library
:prepareIoFabricSdkAndroidFabric1310Library
:prepareMeLeolinShortcutBadger114Library
:prepareOrgXwalkXwalk_core_library205053312Library
:prepareDebugDependencies
:compileDebugAidl
:compileDebugRenderscript
:generateDebugBuildConfig
:mergeDebugShaders
:compileDebugShaders
:generateDebugAssets
:mergeDebugAssets
:createXwalkCommandLineFileDebug
:processDebugManifest
:fabricGenerateResourcesDebug
:generateDebugResValues
:generateDebugResources
:mergeDebugResources
:processDebugResources
:generateDebugSources
:incrementalDebugJavaCompilationSafeguard
:compileDebugJavaWithJavac
:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/home/cadesalaberry/Apps/Cordova/customization/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
:compileDebugJavaWithJavac FAILED

BUILD FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
> 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.

Total time: 54.364 secs
Error: /home/cadesalaberry/Apps/Cordova/customization/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.
/home/cadesalaberry/Apps/Cordova/customization/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 ':compileDebugJavaWithJavac'.
> 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants