Eclipse的朱诺不会创建Android的活动 [英] Eclipse Juno won't create Android Activity

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

问题描述

我下载的Eclipse朱诺的Java EE版并安装 ADT插件。我从的Eclipse 创建了一个新的 Android应用程序项目,并在向导中我创建了一个名为TaskariActivity活动。之后我pressed完成,它创造了该项目,但不是活动,向导没有关闭。我pressed取消。没有活动或任何src文件夹中。我创建了一个新的活动,通过右键单击SRC,选择新建 - >其他 - > Android的 - >活动。我选择BlankActivity(因为当我创建项目更早),选择的项目组合框中前面创建的项目。我设置了活动名称TaskariActivity,布局名称为activity_main和标题为TaskariActivity。接下来,我选择了导航类型,我将其设置为选项卡+刷卡(我认为这会让我的标签和一切,我不得不这样做将是刚刚插入的元素和动作他们)。 I $ pssed下一个P $,什么都没有发生。完成也没做任何事情。我pressed取消并没有创建活动。

I downloaded Eclipse Juno Java EE edition and installed ADT plugin. I created a new Android Application Project from Eclipse and in the wizard I created an activity called TaskariActivity. After I pressed finish, it created the project but not the activity and the wizard didn't close. I pressed cancel. No activity or anything in the src folder. I created a new activity by right clicking on src, selecting new -> other -> Android -> activity. I selected BlankActivity (as earlier when I was creating the project), selected the earlier created project in the Project combo box. I set the Activity name as TaskariActivity, layout name as activity_main and title as TaskariActivity. Next I selected navigation type and I set it to Tabs + Swipe (I thought this would make me tabs and everything I had to do would be just inserting the elements and the actions for them). I pressed next, nothing happened. Finish didn't also do anything. I pressed cancel and an activity wasn't created.

所以,我怎样才能创建一个 Android应用程序的Eclipse 的早期版本?它会自动创建的活动,它是准备好运行开箱。现在,它不会产生任何文件和新的活动向导不起作用。帮助?

So, how can I create an Android application like in the earlier version of Eclipse? It automatically created the activity and it was ready be run out of the box. Now it won't generate any files and the new activity wizard doesn't work. Help?

推荐答案

只需使用默认启动映像(蓝色笑脸)去,而不是对其进行自定义,它应该工作;)

Just go with default launcher image (blue smiley) instead of customizing it and it should work ;)

这篇关于Eclipse的朱诺不会创建Android的活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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