'I'm new to flutter and I always get error when I tried to run my first project on my physical device

This is the error message I get. Exception in thread "main" java.net.UnknownHostException: services.gradle.org



Solution 1:[1]

run gradlew clean and flutter clean then flutter build

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Delwinn