问题描述
现在的问题是,在Eclipse中,新的>>项目>> Android的>> Android应用程序项目>> BlankActivity
不创建在的src
目录中的任何活动,并且不包括在活动中的的manifest.xml
。
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
.
我知道这个问题已经被问过:
- Eclipse Juno won't create Android Activity
- Eclipse doesn't create Main Activity and layout
- Eclipse android project not creating blank activity
然而,所选择的答案,这些都说财产以后这样的:
However, the selected answers to these all say somthing like:
点击帮助 - >安装新软件,并安装(这将更新)从此网址: https://开头DL-SSL。 google.com/android/eclipse/
以上回答没有为我工作。这里是我的设置的一些细节:
The above answer did not work for me. Here are some details of my setup:
- 从 Android的网站安装的Eclipse ADT
- 按照安装说明操作(解压缩内容,并打开Eclipse的)
- 使用ADT管理器中下载必要的API
-
尝试创建
新的>>项目>> Android的>> Android应用程序项目>> BlankActivity
,这的src
或的manifest.xml
工作得很好,除了没有任何活动。
- 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
.
在试过其他等问题给出了答案,即从这个网址的安装新软件,并安装(这会更新): https://dl-ssl.google.com /安卓/月食/
。 这个更新的开发工具,以23.0版本
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.
我知道我可以手动安装这些文件,但我下面的Android开发教程,他们往往承担了基地项目创建工作完美,不要给源文件。
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.
推荐答案
如果您更新到23.0其当前窃听。看到的https://$c$c.google.com/ P /安卓/问题/详细信息?ID = 72419
its currently bugged if you updated to 23.0. see https://code.google.com/p/android/issues/detail?id=72419
这篇关于Android的日食没有创造空白活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!