I need to install android studio on many PCs. Is there any way to install android studio latest version offline by downloading all the offline files just once? Most of the P
Definitely YES, you can always install Android Studio with all SDK packages & Tools on an Off-line PC. As I just did it myself.
Only thing U have to insure that you must have one PC with internet with Similar configuration as of Off-line PC(s). For example, if you have Win 7 64 bits On-Line PC, then you should have Win 7 64 bit on Off-Line PC as well. But I have not tried extensively on 64 vs 32 bit PCs.
Once You have installed Android Bundle (available on android studio website), on both On-line and Off-line PCs, you download all necessary files required to run the Android Studio properly on On-Line PC.
After that, compare the folder inside sdk folder: "C:\user\name\AppData\Local\Android\sdk " available on both PCs (On-Line & Off-Line). And where ever you feel that some files are missing copy that folder from On-Line PC and paste in Off-Line PC. Especially, you need to do this for folder : 'extras', 'tool' & 'system-images'.
After this, just ENJOY!!!
You may download the Android Studio "Bundle" that contains both the IDE and the SDK. You may then install it on as many computers as you want.
The link is: http://developer.android.com/sdk/index.html
Android studio latest version offline by downloading all the offline files only one time then you have to download " All Android Studio Packages " and link is: - http://developer.android.com/sdk/index.html
First I would like to inform you, that the best and secure way is to find good internet connection and connect your computer and simply wait android studio doing all of these above steps for you.but if you are like me with limited internet access or for some reason if you can't connect your computer at all and you are using windows 7, 8 and 10 64bit machine, here is a detailed steps to download all required components at once in another computer with internet and install on your computer COMPLETELY OFFLINE.
android studio 3.5.0 - download link
android-sdk -download link
gradle 5.4.1 - download link
android gradle plugin 3.5.0
At the time of writing this, the official website developer.android.com only provide android gradle plugin 3.5.0-beta 01 and the required version by android studio 3.5.0 is not the beta version but android gradle plugin 3.5.0 - so you have to recursively download every required files and folders using wget from this site (link).
In order to do that, first download wget (download link) copy it to c:\ location and add it to the windows path environment variable.
download the .bat file (android gradle plugin downloader)
After that select and right click the download.bat file and run it as an administrator. The batch command will use wget to download and construct all files and folder for android-gradle-plugin 3.5.0
wait for the download to complete....
And follow these below steps :
%USERPROFILE%/AppData/Local\Android/Sdk
%USERPROFILE%/.gradle/wrapper/dists/gradle-5.4.1-all/3221gyojl5jsh0helicew7rwx/ if the folder didn't exist create it.
and paste it to %USERPROFILE%/.android/manual-offline-m2/android-gradle-plugin-3.5.0 create the folder android-gradle-plugin-3.5.0 if it didn't exist.
Create an empty text file with the following path and file name: windows won't allow to create init.d folder you have to do it from command line, so within the .gradle folder press shift + right click - > click open command_window_here and type mkdir init.d
"%USERPROFILE%/.gradle/init.d/offline.gradle/"
then from within the init.d folder - right click > hover over new > click text document. copy and paste below script and save as the file as offline.gradle
def reposDir = new File(System.properties['user.home'], ".android/manual-offline-m2")
def repos = new ArrayList()
reposDir.eachDir {repos.add(it) }
repos.sort()
allprojects {
buildscript {
repositories {
for (repo in repos) {
maven {
name = "injected_offline_${repo.name}"
url = repo.toURI().toURL()
}
}
}
}
repositories {
for (repo in repos) {
maven {
name = "injected_offline_${repo.name}"
url = repo.toURI().toURL()
}
}
}
}
Save the text file.
To make sure your are running offline, comment these below lines with "//" in build.gradle file, as shown below.
buildscript {
repositories {
// Hide these repositories to test your build against
// the offline components. You can include them again after
// you've confirmed that your project builds ‘offline’.
// google()
// jcenter()
}
...
}
allprojects {
repositories {
// google()
// jcenter()
}
...
}
By now, your offline android studio should work.
This is the common link for all versions of Android Studio depending on Platforms. Also options like with SDK or without SDK can be choosen. All Downloads are offline Installers. https://developer.android.com/studio/index.html
This link below is latest for Windows x64 as on 21Feb2017. https://dl.google.com/dl/android/studio/install/2.2.3.0/android-studio-bundle-145.3537739-windows.exe
Use Andorid Studio official site for downloads.
Download android studio 3.5.0
beta 1
and offline components.