How to fix a broken Android Studio SDK installation

It just happened to me. If you are in a situation where your Android Studio installation doesn't recognize any Android SDK (instead of a little andy, it shows a folder with a question mark over any Android SDK configured), you just have one diagnosis: your (hidden) configuration file is corrupted.…