Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove Android SDK packages from command line

Tags:

linux

android

sdk

is there a way to remove selected package (e.g. "Samples" for each API level) from command line? I'm using Linux. I'm aware of the answer Uninstalling selected parts of Android SDK on the command line but it doesn't quite cover all the topic.

Or is it safe to delete the folders without using any android tool?

like image 624
Gnafu Avatar asked Sep 02 '14 15:09

Gnafu


People also ask

How use Sdkmanager command line?

To use the SDK Manager to install a version of the command line tools, follow these steps: Download the latest "command line tools only" package from the Android Studio downloads page and unzip the package. Move the unzipped cmdline-tools directory into a new directory of your choice, such as android_sdk .


1 Answers

As Chris Stratton said in his comment, the answer is:

Yes, it is safe to manually delete folders in the android sdk.

like image 79
Gnafu Avatar answered Oct 06 '22 11:10

Gnafu