This is my first question, I hope to make it right. I have a problem with Eclipse and Android. I\'m using the last build of the Android ADT bundle, adt-bundle-windows-x8
Uninstall ADT and read https://code.google.com/p/android/issues/detail?id=82393#makechanges
Download http://tools.android.com/download/adt-issue-82393-v2.zip?attredirects=0&d=1
Then -> Help -> Install New -> Add -> Archive and select it.
Fixed my error.
I've had this exact same problem with mine recently. I managed to the problem. Whatever the update was to the android bundle messed up the system. To solve my problem, you have to delete the extracted files from the adt bundle. Once it's deleted then re-extract the adt zip files again in your desired location. Once you have it, load the sdk manager and install all the programs that you want, but don't update any of the files that say they're available for updates. Once you have everything else, your program should operate just fine.
There is some problem with the last update. I've find another way to solve it. In the sdk folder I've deleted the "tools" folder, download de sdk from the web http://developer.android.com/sdk/index.html and copy the "tools" folder from this zip to the sdk location in my computer. That have worked for me.
Another thing to note, From the Android SDK Manager, ensure that you have installed "Android Support Repository" & "Android Support Library".
I had installed only the later and I was having the same issue as you. When I installed the first one too, then I was able to see "MainActivity" created as expected.
I had this problem last month. The "Install new software" procedure didn't work for me, it found that I was up to date. I just updated "Android SDK Tools" (24.0.2) today using the "Android SDK Manager" and it works fine again.
I solved similar problem doing this:
"Help" -> "Install new software", then put url https://dl-ssl.google.com/android/eclipse/ for getting updates, it will reinstall new versions.