I encountered this error after installing Intellij idea Ultimate 14.1 and opening an existing Android project I had create D using Android Studio. It turns out I just had to add the Android SDK to my list of SDKs and fix the Project/module SDK settings. This is what I did it:
go to File, Project Structure
. Click on the Project tab under Project Settings. Under Project SDK click on New--Android SDK
.
now Select the existing directory for your Android SDK. In my case it is in this folder:
c:\users\<windows USERNAME>\APPDATA\LOCAL\ANDROID\ANDROID-SDK
click OK. A menu pops up asking your to set the Java SDK + Build target. You can either the change these or leave it as its defaults and hit Ok. You should now see "Android API XX Platform" in the Project SDK dropdown. Click apply on the bottom. Then go to the Modules tab under Project Settings and click on the folders in the Modules listing.
for each folder go to the Dependencies tab and change the Module SDK to the new Android SD K and click Apply. Then click Ok to close the Project Structure dialog.
After doing the above, my project is fixed.
IntelliJ idea Error:please Select Android SDK