I still clicked on this and thought it was due to what I configured incorrectly (which turned out to be the case). The error message is a bit confusing because I believe that they mean the version of the ADT tools, not the SDK. For example, Android 4.3 (near the latest) is 18.
As with the latest source for Android Studio (which you can clone here: https://android.googlesource.com/platform/tools/adt/idea ), this message is generated by NewProjectWizard. java near line 75 if TemplateManager.templatesAreValid () is false. And he checks that looking at the existence of the file [rootTemplatesFolder] / gradle / wrapper / gradlew.
It gets [rootTemplatesFolder] from the SDK (s) that you specified in the "Project Structure" settings for the default projects. In my case, I had a few predefined ones - both new ones pointing to the sdk directory, which (fortunately) was part of Android Studio, and several old ones that I had somewhere else. I shouldn't have included the old ones, but I'm new to this, and the GUI allowed me to do this. NewProjectWizard first checked the tool area that did not have this file, since the version for tools with it was older than version 22.
I had to use dtruss to view the Android Studio system calls to see where it is looking for this file, and at that moment I could tell you what my stupid problem is.
I have a few more notes about this, including a screenshot of my specific incorrect configuration, at http://www.nowherenearithaca.com/2013/08/solved-android-studio-and-your-android.html
Note. It seems you need to restart Android Studio for the βNew Project Settingsβ here to take effect.
user655489 Aug 24 '13 at 14:26 2013-08-24 14:26
source share