The gradle version under project structure is 4.1 so I tried to direct the IDE to the directory where I had extracted the .zip file.
Asked
Active
Viewed 2,727 times
1 Answers
0
1.Download the gradle-4.1-bin.zip.
2.Now extract and paste it in the C:\Users\username.gradle directory.
3.Enable offline work in (Preferences -> Gradle -> Global Gradle Settings -> Offline work)

Joseph Mathew
- 1,269
- 15
- 17
-
By the way do I use the 'Use local gradle option' or just the default? – devt3000 Nov 22 '17 at 10:15
-
Use local gradle distribution.set Gradle home to your extracted Gradle directory. – Joseph Mathew Nov 22 '17 at 10:18
-
Which directory do I point it to because when I try with the .zip it won't build. – devt3000 Nov 22 '17 at 10:20
-
Extract and copy – Joseph Mathew Nov 22 '17 at 10:21
-
I just did that and tried to build but the gradle sync failed and it's giving me a couple of dependency errors in the build.gradle file. – devt3000 Nov 22 '17 at 10:26
-
Hey I ended up syncing online. – devt3000 Nov 26 '17 at 13:36
-
Has anyone used the Learn Android Studio but Adam Gerber? Having trouble in chapter 5. – devt3000 Nov 26 '17 at 13:37