Android的 - 复制现有的项目以新名称 [英] Android - copy existing project with a new name

查看:126
本文介绍了Android的 - 复制现有的项目以新名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Eclipse。说我有一个项目,项目A在eclipseworkspace(文件夹项目A中)。我想复制该项目,但以新名称(项目B),并在调整的新项目中的所有引用。我找不到太多的帮助我以为会是一个变化的基本操作。我想尝试的变化对原设计/ code和创建副本似乎是显而易见的方法去做。

Using Eclipse. Say I have a project 'ProjectA' in the eclipseworkspace (in a folder ProjectA). I want to copy the project but with a new name (ProjectB) and have all the references in the new project adjusted. I can't find much help for what I thought would be a vary basic operation. I want to try out variations on the original design/code and creating a copy seemed the obvious way to go about it.

任何建议,请。

推荐答案

我需要它今天还和我从我的同事回答。

I need it also today and i got the answer from my co-worker.

  1. 你只是你的项目复制到新的。(​​Ctrl + C和; CTRL + V)

  1. you just copy your project into new one (ctrl+c & ctrl+v).

您在更改包名的清单

之后,你必须重构重命名你的主包。不要忘了选择。

After that you must rename your main package with refactor. Don't forget to select.

只要改变你的应用程序的名称清单

Just change your application name in manifest

应用软件Android:图标=@可绘制/图标机器人:标签=新名称

application android:icon="@drawable/icon" android:label="new name"

希望我没有忘了什么东西,它可以帮助你。

Hope i didn't forget something and it helps you

这篇关于Android的 - 复制现有的项目以新名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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