Android Studio slow download during setup - android

I wanted to install Android Studio as I'm new to Android programming but after initial install, it downloads the packages sooooo slowly compared to normal downloads on my home internet.
Things I've tried:
installing packages through the SDK manager but the download speed is the same, reporting 10KB/s.
these old answers: Slow SDK download through Android SDK manager
placing my PC in my routers DMZ
removing my router to directly connect to my modem
other compters
Is there a completely offline install for Android studio, like other software (i.e. Google Chrome)? Then I could use a download manager to get it quickly.

Sometimes the slowness is also related to antivirus.
In my case, Java Platform was doing all the download process in the background when using Android SDK Manager.
If someone is experiencing a slow download, an alternative is forcing Android SDK Manager to use http connection and not https.
The download process itself is really annoying, takes forever anyway as we can notice. There should be mirrors for those files to accelerate this download process.

Disable https AND disable use cache solved the problem for me

Copy the download link
And paste it in chrome's address bar if you have IDM it it will ask you to download it.

Check on "force https" in the SDK Manager settings.

i tried many options. but my speed was limited always.
so i directly download the missing tools from internet (with my max speed possible) and placed it with the installation files.
to know the files missing, i tried to open it without internet connection and it showed me some missing tools. so i manually downloaded it from internet.

Related

How to keep Android Studio working while downloading tools?

I'm currently working on Linux. I have a bad quality internet connection, so downloading large things could take a lot of time.
If I want to update / install new build tools to Android Studio a modal window is shown. So, for downloading, I'd have to wait for hours until it finishes. But, I need to keep coding while it downloads stuff.
Opening multiple instances of Android Studio didn't help.
I could run the SDK manager in a stand-alone way. But, I couldn't find a way to to upgrade the IDE version, or install tools like NDK in a non-blocking manner.
So, any idea?
I'm facing the same issue with the Android Studio 3.2 update, there doesn't seem to be any way to use the IDE while downloading the update, which is kind of stupid. I guess one solution is to download the entire IDE manually at the Android Studio website.
On a related note, when downloading emulator system images there is a URL displayed in the download window. You can simply copy'n'paste this in a browser to download it manually and then unpack in the correct sdk/system-images/ folder if you want to download it "in the background".

SDK Manager cant download the APIs and Addons?

Today I set in my new working Environment and I have to install eclipse. I downloaded the ADT, and when I tried to download eclipse Plug-Ins from the link http:// it did not work because of Connection issues. I coped this Problem by downloading the Plug-Ins as a zip file and I added it.
Now, when I open eclipse and click on the SDK Manager to download the new APIs and the other stuff, I receive the below posted Screen shot. Is there any other way to install it?
It seems you are connecting to the internet through a firewall or proxy server. check this out and it should work. Also when you try to open the SDK manager try to run it as an administrator. because some folders are somehow protected, and when the SDK tries to write into it, it faces acess problems. So it is better to run the SDK as an administrator.

Android Studio download cancels every single time

Whenever I try to download android studio for Linux, when last second is left it shows network error. I tried it 5 times and same thing happened. At the last second the download cancels and it shows "unknown network error". I have tried downloading on Windows and Ubuntu but the result was same. I was able to download android studio for Windows without any problem.
Downloading with Chrome on Windows 10 failed 4 times at around 95% Pause/resume dose not help firewall disabling dose not help trying Firefox
Firefox retry works great and resume downloading
just Use Firefox to download this file
There seemed to be a problem in such downloads itself,regardless of the browser or the antivirus and all...
Download it using Internet Download Manager.
press Ctrl+J ->opens downloads folder...
right click on the link which says "https://dl.google.com/dl/android/studio/install/1.0.1/android-studio-bundle-135.1641136.exe" (Encircled in red in the image)
then copy the link address and paste the same in Internet Download Manager.
after 4 hours it still remains at 99.99%...
Pause the download and start again...
This time it completes ..100%
And all the downloaded files get appended to one file.
The actual problem occurs in transferring the downloaded files from cache to your system folder.Resuming the download somehow overrides this.
No need to diable firewall or antivirus in this method.
OR use the zipped download from here and then extract it and run the .exe file yourself.
Downloading with Chrome on Win 7 failed all the time for me. I tried with Firefox, and although it gave the same error, I was able to finish the download with "Retry" button in Downloads in Firefox, because it downloads not from the beginning of the file, but resumes the downloading.
So install Firefox and retry the download until it is finished.
I was running into the same difficulty with Firefox on Ubuntu. Downloading the command via console is what ultimately worked for me:
First, determine the download file URL. This can be found by right-clicking the button which initiates the download, and clicking "Copy Link Location". Mine was the following, but NOTE THAT OVER TIME THE FOLLOWING WILL BECOME OUTDATED, AND YOU SHOULD FIND THE URL YOURSELF; THIS IS JUST AN EXAMPLE:
http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz
Having placed this link in my clipboard, I opened up a terminal (Ctrl+Alt+T, or launch the "Terminal" program), navigated to my Downloads folder (cd ~/Downloads), then used wget to download the file:
wget "http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz"
NOTE AGAIN THAT THE ABOVE URL SHOULD BE REPLACED WITH THE CURRENT URL; THIS IS JUST AN EXAMPLE.
wget is a standard linux command that downloads a file from the source URL into the current folder. Anyway, this solved my problem! If, for extra certainty, you want to verify your download, you can use the sha1sum command:
sha1sum android-sdk_r24.4.1-linux.tgz
(You'll need to change the filename above if the version numbers change). This will print the SHA-1 checksum, which the android studio website includes in the page where you select your platform (currently here: http://developer.android.com/sdk/index.html#Other). If the two strings match, then it is extremely likely that your download is a success!
I found the solution!
Disable your firewall
When you are downloading, a minute or two before it finishes, pause the download and resume after 1 minute.
ENJOY. IT WILL WORK JUST FINE!!!
Definitely a Chrome issue, at least the Windows 10 version of Chrome. Using Microsoft Edge or maybe another solves the problem. I used Edge and it downloaded without any pauses or hiccups.
This problem happens when downloading the full kit 'android studio IDE + JDK 7.0', the reason is JDK 7.0 being on another server and it's possible that google server uses proxy settings that blocks traffic when downloading - I am not sure yet.
The only way around it is to dowload 'android studio IDE' only, during the installation you will be given a link and prompted to install JDK 7.0 on Oracle website, so do that as well.
That did the trick.
PS: For anyone suggesting disabling the firewall while connected to the internet for the period of the download, well ..
Just use download accelerator to download ... I used DAP From here
I had same problem with Chrome and Firefox -> the last kb or so refused to download.
Solution was simply to change the name of the downloaded file:
I removed the <.part> from the filename (android-studio-bundle-141.2456560-windows.exe.part) and it worked.
Edit: I have now used Android Studio for several weeks without problem.
I know that this is the old post, but I'm still facing with this issue. The workaround for me was to download zipped version of Android studio from softpedia.com (http://www.softpedia.com/get/Programming/Other-Programming-Files/Android-Studio.shtml#download)
I know that this not helping solving the issue, but might help to download the file.

Unable to download SDK components from android.com

Running Windows XP, 32 bit.
I had no problem downloading the installer and android-sdk_r10-windows.zip, but when running the installer, it gets stuck opening
https://dl-ssl.google.com/android/repository.xml
When I try browsing to that URL, I get a 404.
I've read some of the other answers suggested, but most either direct me to the sdk download (already done) or mention some obscure command line approach that doesn't seem relevant to a Windows installation.
Thanks for any help!
Dave
First thing to try is to click on the Settings tab and turn on the option to Force https sources to be fetched using http. Then try to refresh the packages.
If that doesn't help are you behind a corporate proxy? If so make sure your proxy server and port are correct in the Settings tab.
If that doesn't work try http://code.google.com/p/android/issues/detail?id=5944#c7 .
And if that doesn't work try Download the Android SDK components for offline install .

Not able to add android platform using AVD manager - not able to fetch the url from AVD

I wanted to start working on android but having installation issues. When I start the AVD Manager and check the repository.xml url it gives me an error "... not able to fetch the url. Connection timeout." the same thing happens if I use http or https but if i try to open the url in my browser, it returns the response. I do not have a manual proxy set in the browser but do have an automatic proxy configuration url. I tried copying that url to the internet section in AVD but still no response returned. Also, we do not have the permission to turn off the firewall.
Is there a place where i can download the SDK Platform Android (1.6 preferred)?
if you look in the folder where you have the sdk installed, you will see both the avd manager and the sdk manager. click on the sdk manager and you will be able to install additional platforms from there. Still not showing up in my AVD manager, but Android 4.0 is downloading so i no longer care :)
Consult this
HTH
I've been working on the android developer "quick start" for about a week. This problem has not been solved or at least not explained anywhere. It's been happening for a couple of years now. 2008 is the first record of a problem. All suggestions have failed. "change 'https' to 'http'" etc.
cM
I came across this with a similar answer.
I used the installer, and it didn't install the AVD manager. Going back to the developer files I grabbed the 'rar' and ran the 'adk manager' to get the files I needed. This installed the files to set the target when creating the AVD.
Worked for me.

Categories

Resources