repositories.cfg 无法加载到 Windows 10

repositories.cfg could not be loaded in Windows 10

在安装本机脚本时出现 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 cannot load file

试试这个:

Error resolved by creating an empty repositories.cfg file.

Reference