I just recently downloaded an Android Studio and installed it on my PC. But When I try to set up my first project \"hello world\", it always brings up the following:
<
If any of the cases mentioned here didn't meet the expectations, there may be something wrong with your dnsapi.dll
file in your windows which several software use (It happens in rare cases but give it a try).
Close Android Studio and try running a program(software) that uses this dnsapi.dll
file. For ex. try running BitTorrent. If it says 'DNSapi.dll missing from your computer'
, then the studio error is most probably because of the corrupted/missing dll file.
Try running following command on your command prompt.(Make sure you have a good internet connection)
DISM.exe /Online /Cleanup-image /Restorehealth
And then run the system file checker.
sfc /scannow
It would take some time. Now run Android studio.