xxxxxxxxxx
Go To File in Android Studio Menu at the top
Manage IDE Settings
Restore Default Settings
It will redownload android sdk and setup everything as new. Paste your codes from previous projects and ride on!
Source : https://stackoverflow.com/a/69965887