Packaging Error: rungradle.bat is failing

I was test Packaging my project for android and I got this error

My AndroidSDK Settings:

When I tried to run The command in Command Prompt

Please Help Me Out.

Greetings @CyKrome

Thanks for reaching out on the forums. We have a great community here! In regards to the error that you’re running into I’d like to refer you to a post from a user having the same problem and there appears to be some solutions listed there. Let me know if any of those work. If not we can look into other options! I hope this is helpful!

I followed the Solution but it still doesn’t work


This is Where the Exception is Occuring.

UATHelper: Packaging (Android (ASTC)): Exception in thread “main” javax.net.ssl.SSLException: Received fatal alert: protocol_version
UATHelper: Packaging (Android (ASTC)): at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
UATHelper: Packaging (Android (ASTC)): at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
UATHelper: Packaging (Android (ASTC)): at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979)
UATHelper: Packaging (Android (ASTC)): at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086)
UATHelper: Packaging (Android (ASTC)): at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
UATHelper: Packaging (Android (ASTC)): at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
UATHelper: Packaging (Android (ASTC)): at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
UATHelper: Packaging (Android (ASTC)): at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
UATHelper: Packaging (Android (ASTC)): at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
UATHelper: Packaging (Android (ASTC)): at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
UATHelper: Packaging (Android (ASTC)): at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
UATHelper: Packaging (Android (ASTC)): at org.gradle.wrapper.Download.downloadInternal(Download.java:66)
UATHelper: Packaging (Android (ASTC)): at org.gradle.wrapper.Download.download(Download.java:51)
UATHelper: Packaging (Android (ASTC)): at org.gradle.wrapper.Install$1.call(Install.java:62)
UATHelper: Packaging (Android (ASTC)): at org.gradle.wrapper.Install$1.call(Install.java:48)
UATHelper: Packaging (Android (ASTC)): at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
UATHelper: Packaging (Android (ASTC)): at org.gradle.wrapper.Install.createDist(Install.java:48)
UATHelper: Packaging (Android (ASTC)): at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
UATHelper: Packaging (Android (ASTC)): at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)