Android Studio 2.2.2: All packages are not available for download

后端 未结 5 1475
清酒与你
清酒与你 2021-01-07 19:02

I installed Android Studio 2.2.2 on my system. After when I openend one of the projects which have compileSdkVersion 23, got following error,

5条回答
  •  情歌与酒
    2021-01-07 19:39

    If you were in China, maybe because of the host problem.

    I had resolved this problem with 3 steps

    the android sdk platform resources are download from host dl.google.com

    so first step, get the available ip address for dl.google.com

    (1) visit the ping tools

    (2) get the 'best' ip address for dl.google.com

    according to the pic best one is 203.208.41.73

    (3) set the local host for your computer

    (4) install sdk platform again

    If you were in China hope this trick could help you

提交回复
热议问题