I\'m using the new Android Studio 3.6 Canary 9 to test new functionalities, and I cannot enable Gradle\'s offline mode.
In Android Studio P
Please follow below steps : 1.Open Your project. 2.Go to the Left side of the Gradle button. 3. 4.Click button above image show . 5. if this type of view you are not in offline mode. 6. Go to Build and rebucild the project.
All above point is work for me.