I have the same problem in android studio, the following steps are fixed
Open the Android Studio Welcome screen. Then select a preference from the Android Studio menu, then Android studio β Preferences β Plugins
Now you can see the sort menu at the top with the text "show". There, select the "Custom" plugin, now please remove the entire custom plugin that you installed.
Now restart android studio, it will work
If problems still exist. Please back up and delete the Android Studio Preferences folder .
on Windows should be in the directory c: \ user \ yourname.AndroidStudio2.1
on Linux should be in /home/yourname/.AndroidStudio2.1
on Mac should be in ~ / Library / Preferences / .AndroidStudio2.1
Now restart your studio with a different preference, however, you can navigate and reuse the old Android SDK.
source share