通过Eclipse中/ ADT创建任何文件的main.xml [英] No main.xml file created by Eclipse/ADT

查看:158
本文介绍了通过Eclipse中/ ADT创建任何文件的main.xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有最新版本的Eclipse和ADT的。我创建了一个新的Andr​​oid项目,并在创建向导它要求我创建一个活动,我做到了。当项目加载,但是,我没有在res /布局main.xml中的文件。所有我是我创建的活动中activity.xml文件。我甚至尝试创建一个没有活动项目,我没有得到的main.xml文件。

I have the latest version of Eclipse and the ADT. I created a new Android project and in the create wizard it asked me to create an Activity, I did. When the project loads, however, I don't have a main.xml file in res/layout. All I have is the activity.xml file for the activity I created. I even tried creating a project with no activity and I don't get the main.xml file.

这是它现在应该工作的方式?

Is this the way it should work now?

推荐答案

我想你需要符合安装版和ADT版本,如安装程序,20.0.3和ADT-20.0.3。

I think you have need to matching your installer version and ADT version such as installer-20.0.3 and ADT-20.0.3 .

这篇关于通过Eclipse中/ ADT创建任何文件的main.xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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