Android studio download maven metadata every time during build

Viewed 8297

Every time I build my project android studio build system download 'maven-metadata.xml'. As a result, it takes a very long time to build the project. Can anyone suggest me is there any way to fix this? Below is the picture of the problem.

enter image description here

1 Answers

In Gradle Tool window (View -> Tool Windows -> Gradle), activate Toggle Offline Mode.

Gradle toggle offline mode.

Related