Error:Unknown host ‘maven.aliyun.com‘. You may need to adjust the proxy settings in Gradle.

It’s no use opening Android studio for a day. Error: unknown host ‘Maven. Aliyun. Com’. You may need to adjust the proxy settings in gradle

But it was always good before, so restart Android studio, open any class and click “try again”,

After try again, try packing, and the packing is successful


Read More: