Good day, I followed the instructions in the "Configure you Android Studio Page" to install offline build dependencies(found here https://developer.android.com/studio/intro/studio-config#offline). Downloaded the gradle plugin and the maven dependencies, unzipped them into the required folder, and also created the offline.gradle file, putting it in the appropriate folder. However, in the guide, it was said that to test it is working, one needs to comment the repositories in the build.gradle file. The problem is once I do this. My project fails to build.
I would appreciate any help with this. My SDK : Android 10(API 29) What I know: The android gradle plugin(I downloaded from the main site) is 3.5.0-beta01
When I check .android/manual-offline-m2/gmaven_stable/com/android/tools/build/gradle/ I see folders ranging from 3.0.0 to 3.4.0
The classpath in dependencies (in the build.gradle of my app) is 'com.android.tools.build:gradle:3.6.1'
The distributionUrl (gradle-wrapper.properties) points to https://services.gradle.org/distributions/gradle-5.6.4-all.zip
The ERROR I get says: A problem occured configuring root project 'TestingOfflineBuildApp'. Could not resolve all artifacts for configuration ':classpath'. Could not find com.android.tools.build:gradle:3.6.1. Searched in the following locations:
If I change the classpath from 3.6.1 to 3.5.0-beta01, the errors change to this(second pic). Error 1 Error 2 Thank you