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?
As Chris Stratton said in his comment, the answer is:
Yes, it is safe to manually delete folders in the android sdk.