如何日食知道你的项目的名称? [英] How does eclipse know the name of your project?

查看:100
本文介绍了如何日食知道你的项目的名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个完全工作的项目(可以说其所谓的mygame),其上包含多个活动磁盘。这被称为第一次活动被称为发射器。我希望该项目被称为com.mycompany.mygame,但是当我做在Eclipse中导入项目,并选择我的项目的根目录下,会出现一个对话框,指出位于该目录的项目是COM .mycompany.mygame.launcher没有办法改变它。我的问题是,什么是Eclipse使用,以确定我的项目的名称为com.mycompany.mygame.launcher?有什么事情在清单?

I have a fully working project (lets say its called "mygame") on disk which contains multiple activities. The activity which gets called first is called "launcher". I wish for the project to be called "com.mycompany.mygame", but when I do an import project in eclipse and select the root directory of my project, a dialog appears stating that the project that is located at this directory is "com.mycompany.mygame.launcher" with no way of changing it. My question is, what is eclipse using to determine that my project has the name "com.mycompany.mygame.launcher"? Is it something in the manifest?

推荐答案

我觉得日食发生在类名延伸的活动的。因为当u扩展任何其它的包像碎片等,它不会被默认启动为特定类创建。所以每当有明显的点发射的类名会相处进口或将附加的类名。与包名称

I think the eclipse takes the class name which extends Activity. Because when u extend any other package like the Fragment etc., it won't create the by default Launcher for that particular class. So whenever the Class name with manifest point to launcher will get imported along Or it will attach the class name. with the package name

这篇关于如何日食知道你的项目的名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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