eclipse不会创建空白的活动

eclipse不会创建空白的活动

本文介绍了android eclipse不会创建空白的活动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题在于,在Eclipse中, new>>项目>> Android>> Android应用程序项目>> BlankActivity 不会在 src 目录中创建任何活动,并且不包括 manifest.xml



我知道这个问题以前被问过:





然而,所选的答案都表示如下:

The above answer did not work for me. Here are some details of my setup:

  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.

  5. 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.

  6. 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不会创建空白的活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 01:25