我已经在这个问题上工作了几个小时,并且尝试了所有的事情,但是我无法克服这个障碍。
我打算使用Apache创建一个APK,同时尝试执行sdkmanager --list
。
我得到了这个输出:
C:\Windows\system32>sdkmanager --list
Warning: Failed to download any source lists!
Warning: IO exception while downloading manifest
Warning: IO exception while downloading manifest
Warning: Still waiting for package manifests to be fetched remotely.
[=======================================] 100% Computing updates...
对于获取构建工具:
C:\Windows\system32>sdkmanager "build-tools;29.0.0"
Warning: Failed to download any source lists!
Warning: IO exception while downloading manifest
Warning: IO exception while downloading manifest
Warning: Still waiting for package manifests to be fetched remotely.
Warning: Failed to find package 'build-tools;29.0.0'
[=== ] 10% Computing updates...
C:\Windows\system32>
我尝试过的事情:
antivirus
C:\Windows\system32>sdkmanager --version
5.0
环境变量运行良好,以前没有安装Android。
提前感谢
发布于 2022-04-06 23:31:14
对我来说,运行sdkmanager.bat --详细的,我可以看到问题在于ssl。因此,运行sdkmanager.bat --no就做到了这一点。
发布于 2021-08-09 23:04:06
解决了。有两个问题:
从java.com/en/download重新安装JAVA_EXE
的正确目录
默认的是混乱的..。保持原样:C:\Android\sdk\cmdline-tools\5
文件夹名5是版本号。如果您想要找到版本,则不一定要正确,打开从命令行工具获得的NOTICE.txt。
它在没有任何管理权限或防火墙禁用的情况下运行良好。
https://stackoverflow.com/questions/68714625
复制相似问题