Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How disable Downloading Components in Android Studio first running

I extract Android Studio IDE 135.1740770,
Also these packages are installed for SDK:
Tools
- Android SDK Tools 24.1.2
- Android SDK platform-tools 22
- Android SDK Build-tools 22.0.1
Extras
- Android Support Repository 13
- Android Support Library 22.1
- Google Play services 23
- Google Repository 16
- Google USB Driver 11

But when I run Android Studio for the first time, although it asks for location of my sdk folder, but it wants to download older sdk build tools again:
- Android SDK Tools 22.1.2
- Android SDK platform-tools 21
- Sources for android 21
and after downloading all of them (about 500 MB) then removes them again!!! and use the newer sdk tools that I installed before :|
How can I run Android Studio for the first time without re-downloading these useless sdk packages?

like image 640
Ehsan Avatar asked Apr 24 '15 11:04

Ehsan


People also ask

How long does it take to download components in Android Studio?

Installing "Android Studio IDE" and "Android SDK" Installing Android software is probably the most challenging part of this project. It takes times - from 30 minutes to n hours to forever - depending on your luck, your programming knowledge, and your PC.

How do I fix Android SDK is missing or corrupted?

Quick fix: Go to the Tools –> SDK manager –> SDK tools. Deselect Hide obsolete packages option on the right bottom and further install Android SDK Tools(obsolete). A new folder named Tools is now generated in the SDK directory.

What should I do before installing Android Studio?

If you're using a 64-bit version of Linux, make sure you first install the required libraries for 64-bit machines. To launch Android Studio, open a terminal, navigate to the android-studio/bin/ directory, and execute studio.sh . Select whether you want to import previous Android Studio settings or not, then click OK.


Video Answer


1 Answers

go to the installation directory of Android Studio. There you will find a folder named bin. Inside this folder there is a file named idea.properties. Open this file and add the following line to the end of the file:

disable.android.first.run=true

What this will do is disable the check that Android Studio performs on first run and decides to download all that stuff.

like image 159
praveen patel Avatar answered Sep 20 '22 19:09

praveen patel