Android Studio: Configure Offline Build Dependencies
Solution 1:
You don't need to change anything after configuring offline build dependencies, the error you getting is by putting comments on build.gradle file (i think there is exception in this documentation step 4 (optional) and that exception is [ internet is required one time for "new Android Gradle Plugin" version download if it is not present in local repo or cache ] ).
The Solution is
(If error shows like this with "correct location of our set repo in local repo", then its fine,our setting is working fine)
Uncomment the comments which we commented earlier, classpath and other things should be same ,no need to change.
Notes:- (follow this if offline build failed occurs after doing above steps)
Whichever android gradle plugin version set in CLASSPATH of build.gradle file [internet is required one time for "new Android Gradle Plugin" version download if it is not present in local repo or cache]
“offline.gradle” init scripts in “init.d” directory is executed at the start of the build.
For more details you can read from here https://developer.android.com/studio/build/dependencies
For more details about Maven vs Gradle https://dzone.com/articles/gradle-vs-maven
Post a Comment for "Android Studio: Configure Offline Build Dependencies"