[Eclipse ADT] – Not generating any source file while trying to generate an activity

Creating a new Android Application Project or a simply a new activity did not generate any source file.

Solution :

1. Click Help > Install New Software.
2. In the Work with field, enter: https://dl-ssl.google.com/android/eclipse/
3. Select Developer Tools / Android Development Tools.
4. Click Next and complete the wizard.