Question

  • Creator
    Topic
  • #2143583

    Mobile App Deployment errors

    by bhargav_b ·

    Tags: 

    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:38] ngc finished in 8.69 s
    [10:18:38] preprocess started …
    [10:18:38] preprocess finished in 1 ms
    [10:18:38] webpack started …
    [10:18:38] copy finished in 8.88 s
    [10:18:48] 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:208)
    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:1398)
    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.

You are posting a reply to: Mobile App Deployment errors

The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our Community FAQs for details. All submitted content is subject to our Terms of Use.

All Answers

Share your knowledge