Skip to main content
 首页 » 编程设计

android-studio之无法在 Windows 10 中加载 repositories.cfg

2025年02月15日25pengyingh

关闭。这个问题需要debugging details .它目前不接受答案。












想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。

3年前关闭。




Improve this question




安装 native 脚本时出现无法加载 repositories.cfg 错误,请帮我调试。如果您可以提供从外部下载文件的方法,这将对我有所帮助。我使用的代码是......

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString(' https://www.nativescript.org/setup/win '))"

在安装过程中,它卡住说 c:\user\user-name.android\repositories.cfg 无法加载文件

请您参考如下方法:

尝试这个:

Error resolved by creating an empty repositories.cfg file.



Reference