Search code examples
android-studiowindows-10nativescriptangular2-nativescript

repositories.cfg could not be loaded in Windows 10


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


Solution

  • Try this:

    Error resolved by creating an empty repositories.cfg file.

    Reference