How fix SDK location?

Close the current project and you’ll see a pop-up with a dialog which will then proceed to Configure option. Configure -> Project Defaults -> Project Structure -> SDKs on left column -> Android SDK Home Path -> give the exact path as you did on local. properties and select Valid Target.

Read more

Should I use SFC or DISM?

Should I run DISM or SFC first? SFC is a tool for repairing common Windows files and system structures. SFC will scan the integrity of all protected operating system files, including those that are not on your hard drive. It should be used before running DISM .

Read more