When I import a project (https://github.com/PhilJay/MPAndroidChart) AndroidStudio shows this error:
Error:Connection refused (Connection refused)
I've tried many things but I haven't been able to fix this error.
I'm using AndroidStudio 3.0 and Gradle 4.1. How can I fix this?