repositories.cfg could not be loaded in Windows 10 [closed]
Asked Answered
S

1

27

while installing native-script i got repositories.cfg could not be loaded error , please help me debugging it. It would help me if you can give the way to download the file externally. The code i used was.....

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

during installation it gets stuck saying c:\user\user-name.android\repositories.cfg cannot load file

Shrewd answered 31/10, 2017 at 5:47 Comment(0)
D
53

Try this:

Error resolved by creating an empty repositories.cfg file.

Reference

Dyun answered 31/10, 2017 at 6:10 Comment(2)
Can you share that in which directory should i create empty .cfg file? I need for windows?Complaisant
@MohdSadham have you read Reference, anyway check the warning and add the file at desired location. ex : Warning: File /Users/vishal/.android/repositories.cfg could not be loaded.Dyun

© 2022 - 2024 — McMap. All rights reserved.