My computer used to be eclipse3.7 to develop Android projects, and the creation of Android projects would normally generate files such as Mainactivity.java and Activity_main.xml. Later do not know what the reason, the computer several disk files on a lot of open are garbled. Find a lot of methods can not be solved, so the hard drive to the format of the system re-installed.
After reinstalling the system, reconfigure the eclipse's Android development environment, but found that the created Android project does not generate Mainactivity.java and activity_ properly Main.xml and other documents, on the Internet to find a lot of methods have not been able to solve, since the change of an Android integrated development environment adt,adt-bundle-windows-x86-20131030, but found also created by the Android project can not be normal generation Mainactivity.jav Files such as a and activity_main.xml. These two development environments can be created normally before the system is re-installed.
Workaround: The reason is that before I reload the system, the Android SDK was downloaded through the SDK Manager.exe when Google was not yet on the wall, and the Android SDK I used after reloading the system was a training SDK for trainers (now think, It should be the SDK is not complete). And I pointed Adt-bundle's work space to eclipse3.7 's work space. So the SDK configured by Adt-bundle is the configuration that references eclipse, or the SDK that points to the training organization (note that ADT integrates its own Android SDK). I later pointed the Adt-bundle Android SDK path back to the ADT Integrated Android SDK, resulting in the creation of an Android project that would normally generate files such as Mainactivity.java and Activity_main.xml. Again, I've also pointed the eclipse3.7 Android SDK back to the ADT Integrated Android SDK, which can also be generated normally.
In the final analysis, my reason for this is because the Android SDK is incomplete.
An Android project created by Eclipse or Adt-bundle does not automatically generate file solutions such as Mainactivity.java and Activity_main.xml