Please configure Android SDK

FIX FOR 3.1.2 OR NEWER VERSIONS

I faced the same issue on Android studio 3.1.2, but a simple Sync didn't work for me.The solution was a bit different: I go to

  1. File -> Invalidate Caches -> Invalidate

first step

  1. File -> Close Project.
  2. Remove the project from the Android Studio project selector window.
  3. Quit from Android Studio(X)
  4. Start Android studio and open project again

second step open project


After changing Build Tool Version on the pop screen

 26.0.1 changed into 26.0.3   // else selected the highest available version

then click OK started working for me...

(or)

Simply Restart Andoid Studio File->Invalidate Caches and restart