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

errors when build #77

Open
ghost opened this issue Jan 16, 2017 · 0 comments
Open

errors when build #77

ghost opened this issue Jan 16, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 16, 2017

When Cordova build
cordova v 6.4
the minSdkVersion of Cordova project is configured to 16 by default.


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/org/crosswalk/engine/XWalkCordovaClientCertRequest.java:22: error: cannot find symbol
import org.xwalk.core.ClientCertRequest;
                     ^
  symbol:   class ClientCertRequest
  location: package org.xwalk.core
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/org/crosswalk/engine/XWalkCordovaClientCertRequest.java:31: error: cannot find symbol
    private final ClientCertRequest request;
                  ^
  symbol:   class ClientCertRequest
  location: class XWalkCordovaClientCertRequest
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/org/crosswalk/engine/XWalkCordovaClientCertRequest.java:33: error: cannot find symbol
    public XWalkCordovaClientCertRequest(ClientCertRequest request) {
                                         ^
  symbol:   class ClientCertRequest
  location: class XWalkCordovaClientCertRequest
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/org/crosswalk/engine/XWalkCordovaHttpAuthHandler.java:22: error: cannot find symbol
import org.xwalk.core.XWalkHttpAuthHandler;
                     ^
  symbol:   class XWalkHttpAuthHandler
  location: package org.xwalk.core
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/org/crosswalk/engine/XWalkCordovaHttpAuthHandler.java:30: error: cannot find symbol
    private final XWalkHttpAuthHandler handler;
                  ^
  symbol:   class XWalkHttpAuthHandler
  location: class XWalkCordovaHttpAuthHandler
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/org/crosswalk/engine/XWalkCordovaHttpAuthHandler.java:32: error: cannot find symbol
    public XWalkCordovaHttpAuthHandler(XWalkHttpAuthHandler handler) {
                                       ^
  symbol:   class XWalkHttpAuthHandler
  location: class XWalkCordovaHttpAuthHandler
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:32: error: cannot find symbol
import org.xwalk.core.ClientCertRequest;
                     ^
  symbol:   class ClientCertRequest
  location: package org.xwalk.core
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:33: error: cannot find symbol
import org.xwalk.core.XWalkHttpAuthHandler;
                     ^
  symbol:   class XWalkHttpAuthHandler
  location: package org.xwalk.core
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:51: error: cannot find symbol
import org.xwalk.core.XWalkGetBitmapCallback;
                     ^
  symbol:   class XWalkGetBitmapCallback
  location: package org.xwalk.core
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:132: error: cannot find symbol
    public void onReceivedHttpAuthRequest(XWalkView view, XWalkHttpAuthHandler handler,
                                                          ^
  symbol:   class XWalkHttpAuthHandler
  location: class XWalkCordovaResourceClient
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:148: error: cannot find symbol
    public void onReceivedClientCertRequest(XWalkView view, ClientCertRequest request) {
                                                            ^
  symbol:   class ClientCertRequest
  location: class XWalkCordovaResourceClient
/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
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:131: error: method does not override or implement a method from a supertype
    @Override
    ^
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java:147: error: method does not override or implement a method from a supertype
    @Override
    ^
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:109: error: cannot find symbol
                                            new XWalkGetBitmapCallback() {
                                                ^
  symbol: class XWalkGetBitmapCallback
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:205: error: cannot find symbol
            webView.setUserAgentString(webView.getUserAgentString() + " " + appendUserAgent);
                                              ^
  symbol:   method getUserAgentString()
  location: variable webView of type XWalkCordovaView
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:233: error: cannot find symbol
            webView.getExtensionManager().loadExtension(XWALK_EXTENSIONS_FOLDER + File.separator + path);
                   ^
  symbol:   method getExtensionManager()
  location: variable webView of type XWalkCordovaView
/Users/brodyr/Desktop/spruce-real-estate/spruce/platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java:93: error: method does not override or implement a method from a supertype
    @Override
    ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
20 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:
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

0 participants