问题
I am using eclipse kepler version and latest ADT plugin. But when i tried to create an android project it is not creating the blank activity and layout file. I could see the same question asked many times. In all those links the answer is given like Help->install new software-> https://dl-ssl.google.com/android/eclipse/.But when i tried this it is displaying like everything is already installed. So i need a proper solution.I am stuck with it. Please do help me.
回答1:
I got the same problem as you
and I found this
ADT 23.0.4 (October 2014)
Dependencies: Java 7 or higher is required if you are targeting the L Developer Preview. Java 1.6 or higher is required if you are targeting other releases. Eclipse Indigo (Version 3.7.2) or higher is required. This version of ADT is designed for use with SDK Tools r23.0.2. If you haven't already installed SDK Tools r23.0.2 into your SDK, use the Android SDK Manager to do so.
so...I delete the newest version of SDK Tools 24.0.1
download and install older version SDK Tools r23.0.2
http://dl.google.com/android/installer_r23.0.2-windows.exe
it works for me....
来源:https://stackoverflow.com/questions/27373309/not-generating-the-activity-and-layout-files-while-creating-project