The problem is that in Eclipse new >> Project >> Android >> Android Application Project >> BlankActivity does not create any actions in the src directory and does not include actions in manifest.xml .
I know this question has been asked before:
- Eclipse Juno will not create activity in Android
- Eclipse does not create core activity and layout
- Eclipse android project does not create empty activity
However , the selected answers to them all say somthing like:
Click Help. → “Install new software” and install (this will update it) from this URL: https://dl-ssl.google.com/android/eclipse/
The above answer did not work for me . Here are some details of my installation:
- Installed "Eclipse ADT" from the Android website
- Follow the installation instructions (unpacked content and open Eclipse)
- Required APIs Loaded Using ADT Manager
Tried creating new >> Project >> Android >> Android Application Project >> BlankActivity , this worked fine except for Activity in src or manifest.xml .
Tried the answer asked in other SO questions, i.e. “Install new software” and install (this will update it) from this URL: https://dl-ssl.google.com/android/eclipse/ . Updated Development Tools to version 23.0 .
- I tried to create
new >> Project >> Android >> Android Application Project >> BlankActivity , but still did not work.
I know that I can install these files manually, but I follow the Android Dev tutorials, and they often assume that creating the base project works fine and does not give the source files.
java android eclipse adt eclipse-adt
Jillian
source share