Pra*_*wal 4 android android-sdk-tools cordova platform-tools
我已经花了几个小时来解决这个问题并尝试了一切,但我无法克服这个障碍。
我打算使用 Apache Cordova 创建一个 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...
Run Code Online (Sandbox Code Playgroud)
以及获取构建工具:
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>
Run Code Online (Sandbox Code Playgroud)
我尝试过的事情:
C:\Windows\system32>sdkmanager --version
5.0
Run Code Online (Sandbox Code Playgroud)
环境变量工作正常,并且之前没有安装 Android Studio。
提前致谢
小智 7
对我来说,运行 sdkmanager.bat --verbose,我可以看到问题出在 ssl 上。因此运行 sdkmanager.bat --no_https 就可以了。
| 归档时间: |
|
| 查看次数: |
7142 次 |
| 最近记录: |