-
Notifications
You must be signed in to change notification settings - Fork 29
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
Unable to build for Android in Cordova v5 #6
Comments
the problem ist that changing that will then fail for all older versions |
I think this could be related to the switch from ant to gradle with To at least make this more transparent the correct engine could be set in <engines>
<engine name="cordova" version=">=3.1.0" /><!-- Needs cordova/urlutil -->
<engine name="cordova-android" version="<4.0.0" />
</engines> Problem is that you can't use gradle to build. Well back to ant then I guess. |
https://github.com/danjarvis/cordova-plugin-crosswalk-certificate/blob/master/README.md#install |
ok we wait for your fix! thank you |
Yes, many thanks in advance! |
new version is available at https://www.npmjs.com/package/cordova-plugin-certificates |
I'm unable to build for Android on Cordova v5.1.1. iOS builds fine. This article may help: http://ivancevich.me/articles/ignoring-invalid-ssl-certificates-on-cordova-android-ios/
(Edited log extract below)
...
:compileDebugJava
/...../platforms/android/src/de/martinreinhardt/cordova/plugins/CertificatesCordovaWebViewClient.java:31: error: cannot find symbol
import org.apache.cordova.CordovaWebViewClient;
^
symbol: class CordovaWebViewClient
location: package org.apache.cordova
/...../platforms/android/src/de/martinreinhardt/cordova/plugins/CertificatesCordovaWebViewClient.java:47: error: cannot find symbol
public class CertificatesCordovaWebViewClient extends CordovaWebViewClient {
^
symbol: class CordovaWebViewClient
/...../platforms/android/src/de/martinreinhardt/cordova/plugins/CertificatesCordovaWebViewClient.java:86: error: method does not override or implement a method from a supertype
@OverRide
^
/...../platforms/android/src/de/martinreinhardt/cordova/plugins/CertificatesPlugin.java:89: error: cannot find symbol
webView.setWebViewClient(cWebClient);
^
symbol: method setWebViewClient(CertificatesCordovaWebViewClient)
location: variable webView of type CordovaWebView
/...../platforms/android/src/de/martinreinhardt/cordova/plugins/CertificatesPlugin.java:91: error: cannot find symbol
ca.clearCache();
^
symbol: method clearCache()
location: variable ca of type CordovaActivity
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.
5 errors
:compileDebugJava FAILED
...
The text was updated successfully, but these errors were encountered: