Android SDK installation issue - Peer not authenticated

后端 未结 10 663
小蘑菇
小蘑菇 2020-12-03 06:54

I am trying to install the Android SDK and I get the following error in the SDK Manager Logs -

Fetching https://dl-ssl.google.com/android/repository/addons_         


        
相关标签:
10条回答
  • 2020-12-03 07:13

    I disabled firewall and then tried running SDK Manager.exe as administrator.It started downloading some packages without fail though some packages are still failing to download with the error "Download interrupted: peer not authenticated". So try to re run the sdk manager again it will download some packages now.

    0 讨论(0)
  • 2020-12-03 07:18

    For those who have Mac enable "Force https://... sources to be fetched using http://..." going to:

    SDK Manager Tools > Preferences > "Force https://... sources to be fetched using http://..."

    P.S: Thanks to @danilo-bargen for the answer. He gave the answer for Windows

    0 讨论(0)
  • 2020-12-03 07:20

    In my particular case, I had the "Peer not authenticated" error on my android device as the system time on my device was set in the past, no issues with your system time?

    Thanks to this page for pointing out the seemingly obvious... :)

    0 讨论(0)
  • 2020-12-03 07:21

    For me, in Windows 7, I had to run the SDK Manager as administrator (right click / run as administrator). From then SKD Manager downloaded and installed just fine.

    0 讨论(0)
提交回复
热议问题