Can I install Android SDK offline?
Download the Android SDK components for offline installation
Is it possible to download the Android SDK components for offline installation without using the SDK manager? The problem is that I'm behind a firewall that I have no control over and that the download URLs on both websites appear to be blocked (throws an exception where the connection was denied).
Follow the steps below to install the Android component
- Run the Android SDK Manager on an offline computer
- Click Show / Hide Log Window
- Here is the entire list of XML files in which packages are available
List of add-ons retrieved successful
Get the URL: https://dl-ssl.google.com/android/repository/repository-7 .xml
Validate XML: https://dl-ssl.google.com/android/repository/repository-7.xml
Analyze XML: https://dl-ssl.google.com/android/repository/repository-7.xml
https://dl-ssl.google.com/android/repository/addons_list-2.xml is the main XML file where all other package lists are available.
Suppose you want to download the api-9 platform and it is available in repository-7. Then you need to follow the steps below
Make a note of the repository address and switch to another computer with an Internet connection. Enter the following link in any browser
Look under the API version you want to download. This is the filename you need to download. To download this file you will need to enter the following URI in any downloader or browser. The file will begin downloading.
General rule for each file Replace android-2.3.3_r02-linux.zip with your package name
After the download is complete, insert the downloaded ZIP file (or another format for another operating system) into your flash / USB stick and paste the zip file into the folder / directory (example: -) of your offline -Computer on.
Now start the SDK Manager and select the package you want to put in Temp and click the Install Package button. Your package has been installed.
Restart your Eclipse and AVD manager to get new packages.
Note: - When downloading SDK tools or SDK platform tools, choose the package for the operating system that is on an offline computer (Windows / Linux / Mac).
You can download manually by parsing the XML files shown in the Android SDK Manager log.
Currently the XMLs are addon_list and repository. These xmls can change over time.
It has the location of the SDKs, you can navigate to the link and download it directly from the browser. These files must be placed in a suitable folder, for example the files from Google APIs must be placed under if you do not know where the files need to go.
Here is something to help you.
The blog post from my blog about installing Android SDKs offline -> Offline installation of Android SDKs
As I said, this error usually occurs while staying behind the proxy. To do this, open the settings for IE-Internet Options-Connections-LAN and take the proxy address. Configure the SDK Manager.exe file (Settings tab) for this proxy address with port. Check Force Http ....
If you have a proxy script in your LAN settings, copy the address and paste it into the address bar. Open the downloaded file in Notepad. Find your IP address from ipconfig. In the file, go to the subnet range that your IP falls into. Example: isInNet (Resolution_IP, "184.108.40.206", "255.255.255.0") is true for 220.127.116.11. Take the return value: After the word PROXY and use this for the configuration of the SDK Manager.
Now the SDK is a popular download.
I work behind a firewall on Windows and have the same problem. But I managed to fix it:
- Close all your internet applications (browsers, download tools, etc.)
- Start -> Run -> enter and then press (displays command prompt)
Find your proxy address in the results returned:
Your proxy address is one of the DISTANTMACHINEx
- Your proxy port is the port after the ":"
- Re-enter this proxy address and port on the Settings page of the Android SDK Manager
- Activate "Force https ... http: //"
- To repeat
Which operating system?
Everything you download should be placed in the android-sdk folder (in my case: j: \ android-sdk-windows).
You can run SDK Setup.exe (or the mac / linux command for it) and download everything and just copy your entire android-sdk folder to another computer. I have the full SDK + Eclipse + Workspace on an external hard drive that I can just plug into another computer and it works (except for the JDK which should be installed and the AVDs which are in the user directory). Don't forget to set the ANDROID_HOME environment variable to point to your installation directory.
Update: In the settings menu of the SDK downloader you have the checkbox "Force https: // retrieve sources with http: //". Check or uncheck this option to download everything from your firewall computer.
Here is how I found out. I'm behind the company's firewall too.
Go to Chrome or your internet settings by clicking on the wrench under Chrome -> Settings -> Under the hood -> Network -> Change proxy settings
Click LAN Settings and then click Advanced. Copy the address and port of the proxy server.
Most of the time, the "Connection Denied" link appears when trying to download SDK packages through Eclipse.
Navigate to the SDK Manager.exe file and double-click it. After starting, click on Tools -> Options and enter the proxy server address and port number
Select the Force https: // to http: // check box. This means that your SDK manager can now easily download packages from the Google Remote site even behind a firewall.
By the way, I'm on Windows. Tried everything and this works great.
Most of these problems are related to people using proxies. You can send the proxy information to the SDK manager and proceed from there.
I had the same problem and my solution was to just switch to HTTP and specify my corporate proxy settings.
EDIT: --- If you're using Eclipse and have no idea what your proxy is, open Eclipse, go to Windows-> Settings, choose General-> Network, and there you have multiple proxy addresses. Eclipse is much better at finding proxies than SDK Manager ... Copy the Eclipse http proxy address to SDK Manager (in "Settings") and it should work;)
There is an open source offline package deployer for Windows that I wrote:
You can try this out to see if it suits your needs.
I know this topic is a bit old, but after a lot of fighting and waiting for the download, I changed my DNS settings to use Google's (18.104.22.168 and 22.214.171.124) and it worked !!
My connection is 30 Mbit / s from Brazil (Virtua). With the ISP provider, I got 80 Kbps and after switching to Google DNS, I got an average of 2 Mbps.
- Who is a loyal person or dog
- Which books represent the Albanian culture best?
- Hydrogen peroxide helps fight oily skin
- Can capitalism be sustainable and environmentally friendly?
- Where do deer fall asleep
- Why is Croatia good at football
- What is a Risk Parity Beta Strategy
- How powerful was the Persian Empire
- What situation is chess check in life
- Hawaii has an active volcano
- Conservatives really believe in small government
- Where WooCommerce shipping classes can be used
- What is Chrome Update 57
- Should I do a hairdresser
- Why does Danish have so many vowels?
- What is CERN about
- Why is YouTube 2
- Why does India need third aircraft carriers
- A tailbone can be out of place
- Do you ever cook with steam
- Youngsters should have their own savings account
- How dangerous are hippos compared to sharks
- Why is Great Britain doing nothing today?
- Why are poisonous species shiny
- Is blueberry a fruit
- What does E OE
- What is Chrome Update 57
- Are microaggressions seen as hate speech
- How does the water pump get electricity
- Is the Wipro Cisco project good
- Can nicotine actually help with neurogenesis?
- What is the most popular browser game?