Android Studio Platform Tools-无法下载api 24/28

时间:2019-07-15 06:48:57

标签: android android-studio

我已经下载了android命令行工具,现在想使用此命令为api-24下载平台工具

sdkmanager "platform-tools" "platforms;android-28"

但是我不能这样做。

控制台上的错误是

Warning: Failed to download any source lists!
[=                                      ] 3% Fetch remote repository...

Warning: java.net.ConnectException: Connection timed out: connect
[=                                      ] 3% Fetch remote repository...

Warning: File C:\..\.android\repositories.cfg could not be loaded.
[=                                      ] 3% Fetch remote repository...
[=                                      ] 3% Computing updates...
[===                                    ] 8% Computing updates...
[===                                    ] 8% Computing updates...
[===                                    ] 10% Computing updates...

Warning: Failed to find package platform-tools
[===                                    ] 10% Computing updates...

注意:我正在为公司代理工作

1 个答案:

答案 0 :(得分:0)

您可以下载最新的Platform-tools版本并将其复制到sdk文件夹中的platform-tools文件夹中