I am trying to build this project https://github.com/deeplearning4j/dl4j-examples/tree/master/android/DL4JIrisClassifierDemo in Android Studio, and I get:
> Could not resolve com.android.tools.build:gradle:3.0.1.
> Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.pom'.
> Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.pom'.
> Connect to 127.0.0.1:8118 [/127.0.0.1] failed: Connection refused: connect
I have tried all the options from the comments in this issue Gradle sync failed: Connection refused and I can't seem to get it working... I don't know what the problem is, I even disabled my antivirus and firewall, and I still get Connect to 127.0.0.1:8118 [/127.0.0.1] failed
. Internet Options --> Connections --> LAN Settings does not show any proxies and additionally in Android Studio the HTTP Proxy setting is set to "no proxy", so I REALLY DON'T KNOW what else to consider as an option to make this work. Please give me your insights/thoughts/experiences on this one...
I work with Android Studio 3.3.2.