无法在Windows 10中加载repositories.cfg

Yog*_*dra 21 android-studio windows-10 nativescript angular2-nativescript

虽然安装native-script我得到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无法加载文件

V.Y*_*.Y. 36

试试这个:

通过创建空repositories.cfg文件解决了错误.

参考

  • @MohdSadham你读过[参考](/sf/ask/3040347971/),无论如何检查警告并在所需位置添加文件.例如:警告:无法加载文件/Users/vishal/.android/repositories.cfg. (2认同)