Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove partially installed sdk in android studio

I tried to install pie and nougat in android studio.But due to low disk space it partially installed nougat.Due to low disk space ,I want to uninstall nougat completely how can I do this?

like image 685
NIKITA AGARWAL Avatar asked Dec 09 '18 02:12

NIKITA AGARWAL


1 Answers

To uninstall an SDK, you can use the sdkmanager --uninstall [packages] command, replacing [packages] with the name of the SDK. For example:

$ ./Android/Sdk/tools/bin/sdkmanager --uninstall "platforms;android-24"

would uninstall the Nougat SDK.

Alternatively, you can delete the corresponding folder on your machine without causing issues. In this case, the folder would be:

$ ./Android/Sdk/system-images/android-24

like image 53
David Castro Avatar answered Sep 28 '22 03:09

David Castro