Android vs android-sdk-mac_86

Why do I have two Android directories on my Mac?

Both are under ~ / Library.

One of them is Android (which contains a 9.4 GB sdk folder), and the other is android-sdk-mac_86 (which contains a 1.7 GB system-images folder and 1.7 GB add-ons ).

What is the difference and can I remove one of them?

+6
source share
2 answers

First question: which SDK do you use in your IDE (Android Studio?). If it is not specified in the settings of Android Studio, it may be in the system variable (try echo $ANDROID_HOME from the terminal)

I assume that you are using android-sdk-mac_x86 and you should save it. it looks like the last official standalone SDK, as written on the developer's website :

Unzip the downloaded zip file. By default, it is unpacked into a directory named android-sdk-mac_x86 . Move it to the appropriate location on your computer, for example, the Development directory in your home directory.

Write down the name and location of the SDK directory on your system - you will need to access the SDK directory later using the SDK tools from the command line.

The folders you mentioned also match the ones that come with this SDK.

If you are still not sure, you can rename one of them and see if there are still ticks.

I would personally delete both and start with a new SDK that matches your current SDKs, we usually carry garbage from the past that we really don't need ( http://developer.android.com/sdk/installing/adding-packages.html )

+1
source

The Android directory contains Android studio and all related files, while the other directory contains standalone SDK tools. You have the option to download them or them from your website.

You can remove both of them if you have privileges.

0
source

Source: https://habr.com/ru/post/988049/


All Articles