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?
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 .
As Chris Stratton said in his comment, the answer is:
Yes, it is safe to manually delete folders in the android sdk.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With