This is the error message I get. Exception in thread "main" java.net.UnknownHostException: services.gradle.org
I'm new to flutter and I always get error when I tried to run my first project on my physical device
Asked
Active
Viewed 111 times
-1
-
can you run this command: `flutter doctor -v` – Behzod Faiziev May 18 '22 at 12:38
-
maybe this can help [duplicate](https://stackoverflow.com/questions/31152406/exception-in-thread-main-java-net-unknownhostexception-services-gradle-org) – mfrischbutter May 18 '22 at 12:55
1 Answers
0
run gradlew clean
and flutter clean
then flutter build

Delwinn
- 891
- 4
- 19
-
-
open your project, and navigate to terminal in the bottom-most pane, it consists of run, messages, etc. so find terminal there and input each code one by one – Delwinn May 19 '22 at 02:33
-