How to keep Android Studio working while downloading tools? - android

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".

Related

Stuck at Downloading Components (Preparing "Install Android Emulator (revision: 30.4.5)" android studio

Hello Guys I just want some help for installing android studio components, I already installed the android studio but when I downloading the components on first startup of the application, It stuck at downloading component (image attached below). I have a fast internet connections but It doesn't continue.
Thank you guys
I had a similar problem but after reading several posts it appeared that for some users it just takes a long time for the first download to complete during which it does not show any progress. So by just leaving it for about 10min+ it might carry on.
Having said that, in my attempts to get it going I did the following (although I now believe none of it might have been necessary)
remove the original installation by deleting /Program Files/android
remove the SDK files by deleting \Users\USERNAME\AppData\Local\Android
install latest version of Java
restart computer
i wanted to install chipmunk but at this point I installed bumblebee from the self install exe
start android studio - the setup wizard starts AND gets stuck for about 10 minutes!!
Let it complete its download and select finish
at this point I copied / started Chipmunk and this time it had no problem with setup wizard.
If this does not work, also see a similar link below:
android-studio-first-run-stuck-at-downloading-components-window

Android Studio does not install SDK

oh god i hate SO MUCH this sdk thing.
I just want to build a game made with Unity, i need androids sdk.
sdk manager alone is in console so not really for standard human. i tried but it didn't worked. the sdkmanager console open and close at speed of light.
I downloaded Android Studio to use the UI and the sdk manager embeded.
I deleted anything related to Android to make a clean install.
At startup, Android Studio ask for wish component i would like to download.
It show me all what i want but i CAN NOT CLICK on these damn things.
Then after installation it says there is no SDK (really?) and it show me what is missing but refuse to install it. still can't click.
I deleted all config files and reinstalled and retried 5 or 6 times.
just want to smash the screen. at least 5 hours lost and it goes on.
Everytime i do SDK it always goes wrong. its a nightmare.
If you want install it for Unity - you just need to install Android Studio. Then just go to Unity, click to "SDK: download" and it will automaticly download it.
So for me the answer was to delete and recreate Android/sdk folder. make sur it is empty.

How to change Android SDK temp download directory?

First off I want to say that I'm not trying to change where software should "look," for the SDK. I already did that and it works fine.
I am trying to update the SDK tools through Android Studio and even though I already have the SDK and other tools installed on a larger secondary "E:/" drive that's 4tb, Android Studio insists on downloading something more than 60gb of files onto my (already almost full) 120gb SSD boot drive where Android Studio is installed.
The folders that it's downloading are:
C:\users\<user name>\AppData\Local\Temp\PackageOperation##
It only said it was going to take 14GB before I started downloading which makes it all the more frustrating. It's still downloading as I post this, and it's only about 1/4 of the way done but I have to go to work. I'm worried it's going to run out of space and not be able to finish. Is there any way to tell Android Studio to download these to my other HDD?
Update: It went to about 70GB and left me with only 1GB of free space before it started deleting the files and freeing up space. It ended up finishing, but I don't know if this was a coincidence or not. It's still too close for comfort so if anyone could help that would be fantastic

Android Studio slow download during setup

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.

Android SDK and AVDmanager giving errors

I have 64bit system and have downloaded SDK and the manager to learn Android development.
As you can see I am neewbie and I am having few hiccups.
I have downloaded and succesfully installed the plugin for Eclipse.
But when it comes to manager when I am downloading basic packages, I get the error in the screenshot.
I have made sure to fetch the url using http.
the error seems the installer is not able to access its own folder, which is quite surprising.
Are there any permission which I have to change?
I have also included a screenshot for the convenience:
Screen shot http://img842.imageshack.us/img842/1108/capturempk.png
Just two quick things to check:
Make sure you are not running this from within your "Program Files" folder. Run it in Documents or somewhere as Vista & Win7 try to protect any Program Files and folders.
Right click the application and look for the option to always run it as administrator. Even in Linux based operating systems you need to run this updater as administrator some times.
These are just two quick solutions, just in case.

Categories

Resources