Create new project on Android, Error: Studio Unknown host ‘services.gradle.org’

I was also having the same problem. I tried the following and it’s working for me now:
Please try the following steps:

Go to..

File > Settings > Appearance & Behavior > System Settings > HTTP Proxy [Under IDE Settings] Enable following option Auto-detect proxy settings

On Mac it’s under:

Android Studio > Preferences > Appearance & Behaviour… etc

you can also use the test connection button and check with google.com to see if it works or not.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)