问题描述
问题在于,在Eclipse中, new>>项目>> Android>> Android应用程序项目>> BlankActivity
不会在 src
目录中创建任何活动,并且不包括 manifest.xml
。
我知道这个问题以前被问过:
然而,所选的答案都表示如下:
The above answer did not work for me. Here are some details of my setup:
- Installed "Eclipse ADT" from the Android website
- Followed the installation instructions (unzipped contents and opened Eclipse)
- Downloaded necessary APIs using the ADT Manager
Tried creating
new >> Project >> Android >> Android Application Project >> BlankActivity
, this worked fine except no Activity insrc
ormanifest.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.- Tried creating
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.
its currently bugged if you updated to 23.0. see https://code.google.com/p/android/issues/detail?id=72419
这篇关于android eclipse不会创建空白的活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!