I have installed Android SDK 22.3
and JDK 1.7 update 21
on Win7 x64
. Now I created an empty android application project using intelliJ 13.0.1
(also use Emulator as target device) and tried to build the project, but encountered the 'Error: Please select Android SDK'
.
So I choose Emulator
as the Target Device
, but I could not select my AVD, as there is a Error: Cannot find any configured Android SDK
.
In the Project Structure, it clearly shows 'Android 4.4.2 platform' as Project SDK. So I am totally confused, don't know how to resolve the issue.
ps. I was upgrading intelliJ 12.1.2
to intelliJ 13.0.1
, and all the settings were automatically inherited from 12.1.2 when launching 13.0.1, but it seems not all the settings were exactly copied over to 13.0.1, which is unexpected.
cheers
You have to Select Build Tool Version from your project setting.
This will work on my side i hope it will help you.
I have same problem once.I solved this by File->Open->other project,then switch this project by this way.
Seems a lot like IDEA can't find the Android SDK.
Have restarted the computer after using the Android SDK Installer?
After that, have you started the SDK Manager to install the Android 4.2.2 SDK?
Can you check the Android_SDK_HOME environment variable?
Take into account that the Android SDK Installer just installs a Manager. After that, you have to install an SDK (or several).
Also, when you see 'Android 4.4.2 platform' in the Project Structure, that means that the project will ask for that SDK. It doesn't mean that the SDK has been installed.
check if you have installed all the add-ons that are necessary. Also I recommend you to use a real android phone for debugging. It's better, It's real and faster.
Delete all android SDKs from Intellij and add them again.
To do this open project structure, in SDK pane, delete all android SDK, click OK. open project structure and add them again.