SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Tag mismatch
Solution 1
- Open Android Studio
- Select "Configure" > "Default Project Structure..."
- Configure "Android SDK location" and save
- Select "Configure" > "SDK Manager"
- Go to "SDK Update Sites" and check "Force https://... sources..."
Solution 2
We fixed a similar exception in another app with disabling Automatically detect settings in Windows 7 with NOD32 antivirus (Control Panel / Internet Properties / Connections tab / LAN settings button).
Solution 3
In my case this error came overnight and went away when I installed pending updates for Windows and the corporate Virusscanner (ESET). So in the end it also may also have been just the subsequent restart of the system.
Solution 4
I faced similar problem.I solved it by selecting Force https to be fetched as http
option under SDK Update Sites
tab of SDK Manager.
By Selecting this option you can download only those packages which are having SSLEXECPTION
Tag Mismatch error. Once you have done remember to unselect this option. For more clarification refer
Admin
Updated on June 22, 2022Comments
-
Admin almost 2 years
In Android Studio, when I try to update large SDKs through the SDK Manager, I keep getting the following error:
SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Tag mismatch!
This always happens with large SDKs. What should I do? I have no idea about what I should do. I use Android Studio 2.2.3 and Windows 7x64. Any help will be appreciated.