Avoiding Android Studio and SDK downloads - android-studio

Android Studio and SDK downloads are just so often that our network gets chocked by everyone trying to download the updates.
Is there a place I can download all components regularly, and request all people within our network to just replicate locally from a local repository ?

Related

How do you share code from Android Studio into GitHub without it losing it's gradle and functionality when teammate clones it?

Properly working project not from GitHub. My team and I are trying to use version control for Android Studio via GitHub. The code is operating fine on my computer and then I upload it to GitHub creating a repository. The problem comes in (I think) when my teammates clone the code to their Android Studio environment. When they open the code on their Android Studio they can't use "preview" for seeing the layout of the app. There also is no APP file structure for them as there is for me when I view the APP I originally created. There is also an error message saying "This project 'some project' is not Gradle based" we're completely befuddled as it seems as if it should be a simple transfer of files. Any idea on what we're doing wrong.
Broken and cloned project from GitHub

Downloading via SDK manager works but adding dependencies through gradle fails in android studio

I am currently facing some problems with android studio. It works fine when I download things via SDK manager or update android studio components but gradle dependencies download shows timeout after trying for some time. I have a decent internet connection. Cannot figure out where is the problem. Tried every configuration I know from windows firewall but nothing seems to work. I am not using any proxy.

DevOps solution for Android Studio updates

we have a large team of developers using Android Studio for developing Android Apps. Problem that we face is:
For each new update, each developer updates through the Android Studio's Update Manager. Due to update sizes in x100 MBs or even GBs, it quickly adds up for so many developers. Is there a way to mirror the Android Studio update, so that we have one machine which updates the normal way (from Internet) and others do so over LAN from this machine? From DevOps PoV, it would help me maintain same version of Android Studio and its components on all machines.

android studio common sdk folder for all users

I am using Android Studio 2.2.3 from two user accounts on Windows 10. Whenever I update plug-ins, it doesn't seem to have updated for all users. How to move make studio point to a common folder that can contain the sdk and apply all updates there?
Android Studio SDK is usually installed under C:\Users\%USER%\AppData\Local\Android\sdk folder. If you want to access it from different user, you should consider installing it on a different drive or configure & move your current SDK to a different drive. That should do the work.
Haven't tried yet but this should surely work.

What links do we need enabled for Android Studio?

I'm working at a corporate location where we have restricted access to network. The hurdle that I'm facing is that I'm supposed to do some research on Android development and the network is not what I wanted it to be. I have installed Android Studio and created a new project. But as soon as the project is loaded, gradle sync operation starts and fails after not finding JUnit & similar dependencies.
I have already added the proxy settings in Android Studio and SDK manager, but I believe I'll have to request for unblocking some of the URLs that Android Studio needs access to. I couldn't find any such list, can someone please help me with the same?
I have tried running Fiddler to see which requests are being blocked, but I see only 1 URL and that is clients1.google.com but I'm not sure that is the only thing needed.
After lots of hits and misses, I have found the answer to this question. The build.gradle file for the project has the answer to this. It calls a function jcenter() which internally calls the libraries available at http://jcenter.bintray.com/. So, the entire list for Android Studio development including the SDK would be:
http://dl.google.com:443
http://dl-ssl.google.com:443
https://dl-ssl.google.com/android/repository/*
https://developer.android.com (for Android Studio downloads and documentations)
http://jcenter.bintray.com/
Thanks for all the help provided.

Resources