Android的日食没有创造空白活动 [英] android eclipse not creating blank activity

查看:125
本文介绍了Android的日食没有创造空白活动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在的问题是,在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.

我知道这个问题已经被问过:

  1. Eclipse的朱诺不会创建Android的活动
  2. Eclipse不创建主要活动和布局
  3. Eclipse的Andr​​oid项目没有创造空白活动
  1. Eclipse Juno won't create Android Activity
  2. Eclipse doesn't create Main Activity and layout
  3. Eclipse android project not creating blank activity

然而,所选择的答案,这些都说财产以后这样的:

However, the selected answers to these all say somthing like:

点击帮助    - >安装新软件,并安装(这将更新)从此网址: https://开头DL-SSL。 google.com/android/eclipse/

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:

  1. Android的网站安装的Eclipse ADT
  2. 按照安装说明操作(解压缩内容,并打开Eclipse的)
  3. 使用ADT管理器中下载必要的API
  4. 尝试创建新的>>项目>> Android的>> Android应用程序项目>> BlankActivity ,这的src 的manifest.xml 工作得很好,除了没有任何活动。

  1. Installed "Eclipse ADT" from the Android website
  2. Followed the installation instructions (unzipped contents and opened Eclipse)
  3. Downloaded necessary APIs using the ADT Manager
  4. Tried creating new >> Project >> Android >> Android Application Project >> BlankActivity, this worked fine except no Activity in src or manifest.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.

我知道我可以手动安装这些文件,但我下面的Andr​​oid开发教程,他们往往承担了基地项目创建工作完美,不要给源文件。

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的日食没有创造空白活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆