【问题标题】:repositories.cfg could not be loaded in Windows 10 [closed]无法在 Windows 10 中加载 repositories.cfg [关闭]
【发布时间】:2018-04-12 05:20:00
【问题描述】:

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

【问题讨论】:

    标签: android-studio windows-10 nativescript angular2-nativescript


    【解决方案1】:

    试试这个:

    通过创建一个空的repositories.cfg 文件解决了错误。

    Reference

    【讨论】:

    • 你能分享一下我应该在哪个目录中创建空的 .cfg 文件吗?我需要窗户吗?
    • @MohdSadham 你读过Reference,无论如何检查警告并将文件添加到所需位置。例如:警告:无法加载文件 /Users/vishal/.android/repositories.cfg。
    猜你喜欢
    • 1970-01-01
    • 2017-07-10
    • 1970-01-01
    • 2018-04-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-03-22
    • 2015-10-30
    相关资源
    最近更新 更多