AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error

In The Name OF Allah
Al-Salam Alekum

[Image: android-studio.jpg]

So, I was updating and then this error came up:
Code:
ArtifactResolveException: Could not resolve all artifacts for configuration ':classpath'

After updating my Android Studio to latest version... So After 30 minutes of searches and trying different type of solutions I could figure out how to solve???!!

1- Make sure gradle button Toggle Offline Mode are disabled. IF not worked try step two
2- Shutdown Android Studio then delete .gradle folder content then open android studio again
On windows: C:\Users\Usernamel\.gradle
On Linux: ./gradle

Enjoy Smile
Wa Salam Alekum


* This article was originally published here

Comments