How to disable gradle 'offline mode' in android studio 4.2?
New location to toggle Gradle's offline mode
To enable or disable Gradle's offline mode, first select View > Tool Windows > Gradle from the menu bar. Then, near the top of the Gradle window, click Toggle Offline Mode Gradle offline button in the Gradle panel..
I have disable the Gradles offline mode , and now there is a new error as below :
Make sure you do not have gradle offline mode enabled. Your gradle toolbar should look like the one below. The 4 icon from the left, is the toggle offline/online button. It should not be selected.
You can run the actions like the following to do a gradle sync with your project.
That should get you back online and your project synced up.
enable/disable offline mode in andriod studio 4.0
To enable/disable offline mode. Go to gradle -> toggle like in this picture
After clicking build gradle. You can toggle it using this toggle button.
Related Topics
How to Change Spinner Text Size and Text Color
Show Image View from File Path
Sending Message Through Whatsapp
How to Add a Jar in External Libraries in Android Studio
Running Google Maps V2 on the Android Emulator
How to Install Google Frameworks (Play, Accounts, etc.) on a Genymotion Virtual Device
How to Record a Video in My Android App
Android Pick Images from Gallery
Onitemclicklistener Not Working in Listview
How to Programmatically Add Views to Views
Eclipse Giving Error, Missing R.Java File After Recent Update
How to Add a Border to the Top and Bottom of an Android View
Android Youtube App Play Video Intent
Check If Application Is on Its First Run
How to Store(Bitmap Image) and Retrieve Image from SQLite Database in Android