Good day!! I'm new to android development... I've successfully started my Android Development Studio, downloaded the necessary SDKs via sdk manager, and created a project. I'm following a tutorial where it says that I should be able to run my project (Blank Activity) after setting up a virtual device. Problem is I was able to run the virtual device but I cannot run my project. I kept on receiving the error: Gradle "MyApplication4" project refresh failed Error: Connection refused: connect i've tried using the solution provided here (AndroidStudio gradle proxy) but issue still occurs:
I went to File >> Settings >> Project Settings >> Gradle... Under Global Gradle Settings, I set Gradle VM options to -Dhttp.proxyHost=www.somehost.org -Dhttp.proxyPort=8080
I cannot post screenshots since I'm also new here at StackOverflow.
Kindly help me in solving this issue.