android studio中查看samples

file--new--import samples...出现以下问题:

问题:

Failed to download samples index, please check your connection and try again

 

解决办法:

第一步:翻墙

第二步:

Configure-> Setting->System Setting->HTTP Proxy->Auto-detect proxy settings

Failed to download samples index, please check your connection and try again

 

最终效果:

Failed to download samples index, please check your connection and try again

转自:https://blog.csdn.net/double2hao/article/details/50740093

设置后我个人情况是没有效果,更改为全局代理模式后(v*n)并对as进行invalidateandrestart之后就可以import samples了。

 

相关文章: