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

Build Failed error: can't find symbol XWalkCookieManager #10

Open
aksharpatel47 opened this issue Sep 25, 2015 · 5 comments
Open

Build Failed error: can't find symbol XWalkCookieManager #10

aksharpatel47 opened this issue Sep 25, 2015 · 5 comments

Comments

@aksharpatel47
Copy link

I'm getting the following error when building for android.

/Users/me/Projects/cordova/app/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/me/Projects/cordova/app/platforms/android/src/com/shoety/plugin/InAppBrowserXwalk.java:96: error: cannot find symbol
                XWalkCookieManager mCookieManager = new XWalkCookieManager();
                ^
  symbol: class XWalkCookieManager
/Users/me/Projects/cordova/app/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
:compileArmv7DebugJava FAILED
@aksharpatel47 aksharpatel47 changed the title Build Failed error: can't find symbol Build Failed error: can't find symbol XWalkCookieManager Sep 25, 2015
@aksharpatel47
Copy link
Author

I solved this by renaming the import in InAppBrowserXwalk.java

import org.xwalk.core.internal.XWalkCookieManager

to

import org.xwalk.core.XWalkCookieManager

Can this break anything else in the plugin?

@jrg96
Copy link

jrg96 commented Oct 26, 2015

Thanks, that solved my problem too

azamara added a commit to azamara/cordova-plugin-inappbrowserxwalk that referenced this issue Nov 5, 2015
@sergeifedorenko
Copy link

link for this problem
"Crosswalk 14+ build fails: cannot find symbol import org.xwalk.core.internal.XWalkCookieManager"
https://crosswalk-project.org/jira/browse/XWALK-4568

@castrojr913
Copy link

The same thing. @aksharpatel47 It worked for me too. My doubt it's about XWalkViewInternal.java. Does the org.xwalk.core.internal package exist?

@barryvdh
Copy link

Fixed by #9

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

5 participants