Question
Thread display: Collapse - |
All Answers
Share your knowledge
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Mobile App Deployment errors
ionic cordova build android --prod --release
Could someone please guide in this aspect.
> ionic-app-scripts build --prod --target cordova --platform android
[10:18:30] ionic-app-scripts 3.2.4
[10:18:30] build prod started ...
[10:18:30] clean started ...
[10:18:30] clean finished in 6 ms
[10:18:30] copy started ...
[10:18:30] deeplinks started ...
[10:18:30] deeplinks finished in 17 ms
[10:18:30] ngc started ...
[10:18:3
[10:18:3
[10:18:3
[10:18:3
[10:18:3
[10:18:4
[10:19:21] uglify started ...
[10:19:21] sass started ...
[10:19:22] sass finished in 859 ms
[10:19:22] cleancss started ...
[10:19:23] cleancss finished in 949 ms
[10:19:29] uglify finished in 7.86 s
[10:19:29] postprocess started ...
[10:19:29] postprocess finished in 12 ms
[10:19:29] lint started ...
[10:19:29] build prod finished in 59.27 s
[10:19:31] lint finished in 2.00 s
> cordova build android --release
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=C:\Users\IT-Soumya\AppData\Local\Android\Sdk (DEPRECATED)
Subproject Path: CordovaLib
Subproject Path: app
Downloading https://services.gradle.org/distributions/gradle-4.10.3-all.zip
Exception in thread "main" javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at sun.security.ssl.Alerts.getSSLException(Alerts.java:20
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1937)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1894)
at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1877)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:139
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1375)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.