Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when build #19

Open
ghost opened this issue Jan 16, 2017 · 1 comment
Open

error when build #19

ghost opened this issue Jan 16, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 16, 2017

error when bulkd cordova 6.4
latest crosswalk-webview 2.2

error: /Users/brodyr/desktop/spruce-real-estate/spruce/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.
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/com/shoety/plugin/InAppBrowserXwalk.java:17: error: cannot find symbol
import org.xwalk.core.internal.XWalkCookieManager;
                              ^
  symbol:   class XWalkCookieManager
  location: package org.xwalk.core.internal
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/com/shoety/plugin/InAppBrowserXwalk.java:96: error: cannot find symbol
                XWalkCookieManager mCookieManager = new XWalkCookieManager();
                ^
  symbol: class XWalkCookieManager
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/com/shoety/plugin/InAppBrowserXwalk.java:96: error: cannot find symbol
                XWalkCookieManager mCookieManager = new XWalkCookieManager();
                                                        ^
  symbol: class XWalkCookieManager
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 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:

@EternallLight
Copy link

I've managed to fix the build by changing import statement of XwalkCookieManager to
import org.xwalk.core.XWalkCookieManager;

https://crosswalk-project.org/apis/embeddingapidocs_v6/org/xwalk/core/XWalkCookieManager.html

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

No branches or pull requests

1 participant