For Windows 7 and above go to C:\Users\USERNAME\.android folder and follow below steps:
- Right click > create a new txt file with name repositories.txt
- Open the file and go to File > Save As.. > select Save as type: All Files
- Rename repositories.txt to
repositories.cfg