Question

Mobile App Deployment errors

By Bhargav_B ·
Tags: Off Topic
On executing the below command while deploying, we are facing the issues as shown.
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 ngc finished in 8.69 s
[10:18:3 preprocess started ...
[10:18:3 preprocess finished in 1 ms
[10:18:3 webpack started ...
[10:18:3 copy finished in 8.88 s
[10:18:4 webpack finished in 9.40 s
[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.
0 total posts (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Mobile Apps Forum
0 total posts (Page 1 of 1)  

Related Discussions

Related Forums