IBT BHAUMIKTHAKKAR
IBT BHAUMIKTHAKKAR

Reputation: 1

How to solve this error of Android Studio?

A problem occurred configuring root project 'My Application'.

Could not resolve all artifacts for configuration ':classpath'. Could not resolve com.android.tools.build:gradle:3.6.2. Required by: project : No cached version of com.android.tools.build:gradle:3.6.2 available for offline mode. No cached version of com.android.tools.build:gradle:3.6.2 available for offline mode.

This is my error and I don't know how to solve this please help me to solve this

Upvotes: 0

Views: 326

Answers (1)

Android_id
Android_id

Reputation: 1591

In Android Studio select

View > Tool Windows > Gradle

from the menu bar.Here On the top of the Gradle window ,click on Toggle Offline Mode button in the Gradle window. Image attached

Upvotes: 1

Related Questions