问题描述
每次我创建一个新的android项目,我指定我想创建空白的活动。我到达我命名的页面。点击完成后,空白的活动无处可寻。我知道我可以手动创建空白的活动文件。但是我想知道为什么eclipse不会创建一个空白的活动,即使它通过创建过程,当我做一个新的android项目。它甚至没有显示在清单文件上。
Every time I create a new android project, I specify that I want to create blank activity. I get to the page where I name it. But after clicking finish, the blank activity is nowhere to be found. I know that I can create the blank activity file manually. But I want to know why eclipse is not creating the blank activity even though it goes through the creating process when i make a new android project. It is not even showing up on the manifest file.
推荐答案
即使我下载了Android SDK并做了一个干净的安装,我也遇到了同样的问题,但我只是解决了这个问题。我试图点击帮助 - >安装新软件并从此网址安装(这将更新它):
OR
尝试创建空活动,而不是空白活动
I had the same problem even though I downloaded the Android SDK and did a clean install, but I just resolved it. I tried to click "Help" -> "Install new software" and install (this will update it) from this url: https://dl-ssl.google.com/android/eclipse/ORtry to create a empty activity, not a blank activity
这篇关于Eclipse的android项目不会创建空白的活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!