Posted on Apr 2, 2011

Solution for “cannot find any android targets in this sdk” (IntelliJ IDEA)

This week I’ve been playing with the Android SDK using IntelliJ IDEA. One of the problems that I encountered when I was creating an Android project in IDEA was the error “cannot find any Android targets in this sdk.” After surfing the net for a bit, I found the solution to this problem here. To paraphrase a bit, the solution is to simply run tools/android, under android_sdk_YOUR_OS, to retrieve the targets, check the option that says “force https to be fetched using http” under settings. And finally, under “Available packages,” select the version of Android you want.

Spam Protection by WP-SpamFree