wsl2 kali linux install android studio Android SDK platforms

studio下载网址为 https://developer.android.google.cn/

解压后在bin目录下运行studio.sh提示错误:

unable to access android sdk add-on list

选择"setup proxy"

选择Manual proxy configuration

设置 Host name 为:mirrors.neusoft.edu.cn 设置 Port number 为:80

出现Android Support Repository, SDK Patch Applier v4 and 4 more SDK components were not installed...情况

进入网站http://ping.chinaz.com/,进行 dl.google.com ping检查,选择大陆响应时间最短的IP地址

进入cmd对此IP地址进行ping测试,如果可以将(IP地址 dl.google.com)加入hosts文件中

hosts文件地址:C:\WINDOWS\System32\drivers\etc\hosts

用记事本打开,添加

相关推荐
爱勇宝11 小时前
我做了一个只用来搜歌词的小 App
android·前端·后端
AlfredZhao13 小时前
Docker 容器时区不对,`timedatectl` 不存在怎么办?
linux·timezone
众少成多积小致巨15 小时前
JNI (Java Native Interface) 技术手册中文参考指南
android·java·c++
Coffeeee21 小时前
如何使用Glide和Coil加载WebP动图
android·kotlin·glide
Kapaseker1 天前
5 分钟搞懂 Kotlin DSL
android·kotlin
恋猫de小郭1 天前
AI Agent 开发究竟是啥?如何用 AI 开发 Agent ?深入浅出给你一套概念
android·前端·ai编程
黄林晴1 天前
Android 17 正式发布!target 37 一大批旧代码直接不能用了
android
Carson带你学Android1 天前
Android 17 正式发布:AI 终于成了系统能力
android·前端·ai编程
三少爷的鞋1 天前
当 UseCase 开始长期监听,它可能已经不是 UseCase 了
android
恋猫de小郭2 天前
Android 限制侧载新进展,谷歌联合国内厂商推验证计划
android·前端·flutter