The problem is, in Eclipse, the new >> Project >> Android >> Android Application Project >> BlankActivity
does not create any Activities in the src
directory, and does not include the Activities in the manifest.xml
.
I know this question has been asked before:
However, the selected answers to these 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 setup:
Tried creating new >> Project >> Android >> Android Application Project >> BlankActivity
, this worked fine except no Activity in src
or manifest.xml
.
Tried the answer given 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/
. This updated "Development Tools" to version 23.0.
new >> Project >> Android >> Android Application Project >> BlankActivity
, but still did not work.I know I could install these files manually, but I am following the Android Dev Tutorials and they often assume the base project creation worked perfectly, and do not give the source files.
Blank Activity is the same as Empty Activity. 2.) Blank Activity is the simplest activity which you can create. Basic Activity is more advanced than Empty/Blank Activity because have toolbar and one button (FAB).
its currently bugged if you updated to 23.0. see https://code.google.com/p/android/issues/detail?id=72419
Just wanted to add, I switched from Eclipse ADT to the Android Studio and all of the Activity creations work perfectly (i.e. BlankActivity
, as well as all of the others). It also fixed another bug I was experiencing with the GUI preview in Eclipse.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With