在Android Studio中使用新名称复制现有项目 [英] Copy existing project with a new name in Android Studio

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

问题描述

我想复制我的Android项目并使用相同的名称从相同的文件创建一个新项目.这样做的目的是让我可以拥有应用商店中受广告支持的第二个版本的应用.

I would like to copy my Android project and create a new project from the same files just with a different name. The purpose of this is so I can have a second version of my app which is ad supported in the app store.

我在这里找到了这个答案:

I found this answer here:

Android-使用新名称复制现有项目

但这是针对Eclipse的.如何在Android Studio中做到这一点?

But it's for Eclipse. How can I do this in Android Studio?

推荐答案

您指定的链接中的步骤也应适用于Android Studio.只需复制整个模块文件夹(使用文件管理器)并为其命名即可.现在打开它,并使用Refactor -> Rename(右键单击要重命名的项目)重命名模块和程序包.

The steps in the link you specified should also work for Android Studio. Just make a copy (using a file manager) of the entire module folder and give it a new name. Now open it up and use Refactor -> Rename (right click on the item you want to rename) to rename your module and package.

有关在IntelliJ/Android Studio中进行重构的详细信息,请参见.

See this for details about refactoring in IntelliJ/Android Studio.

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

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