cordova-plugin-inappbrowserxwalk
cordova-plugin-inappbrowserxwalk copied to clipboard
Build Failed error: can't find symbol XWalkCookieManager
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
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?
Thanks, that solved my problem too
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
The same thing. @aksharpatel47 It worked for me too. My doubt it's about XWalkViewInternal.java. Does the org.xwalk.core.internal
package exist?
Fixed by #9