I updated my Android Studio application to the latest version on Mac to Android Studio 3.6, Build: #AI-192.7142.36.36.6200805
I saw the option to enable offline mode(in the Build output area or so) when the build failed due to Internet connection problems and I did so by clicking the supplied link.
Later on, I needed to disable offline mode and I followed the normal steps:
Go to Preferences > Build, Execution, Deployment > Gradle.
But on the Gradle option in this very build, there was no Check the Offline work checkbox
My question is:
How do I disable offline mode under the newest build of Android Studio?
(Build Tools -> Gradle) Then (uncheck -> Offline work) on the right. Click the OK button.
Go to File -> Settings. Then uncheck -> Offline work on the right. Click the OK button.
If we need to use the offline mode, just go to the Gradle window and click the Toggle Offline Mode button: After we click the button to enable offline mode, we can reload all dependencies and find that offline mode works.
Open your project in Android Studio and select File > Settings... > Build, Execution, Deployment > Build Tools > Gradle (Android Studio > Preferences... > Build, Execution, Deployment > Build Tools > Gradle on a Mac).
The Same answer as above but in pictures.
Look at the right side of the Android studio, you will see gradle tab. Click on it.
If you cannot see gradle tab then
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With