如何最好地复制一个Android项目? [英] How best to duplicate an Android project?
本文介绍了如何最好地复制一个Android项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经建立了一个Android项目,我想对其进行克隆,重命名和重命名,但是我不确定如何做到最好.我以为我可以复制项目文件,然后遍历整个树,重命名com.domain.project引用等,但是肯定有更正确"的方法吗?
I've built an Android project that I'd like to clone, rename and rebrand but I'm not sure how best to do this. I assume I could just make a copy of the project files and then go through the entire tree renaming the com.domain.project references etc, but surely there's a more 'proper' way of doing this?
该项目是在Android Studio中构建的,它是一个基于Phonegap的应用程序.也许唯一的方法是使用Phonegap创建一个新项目,然后替换资产树?
The project was built in Android Studio and it's a Phonegap based app. Perhaps the only way would be to use Phonegap to create a new project and then replace the assets tree?
推荐答案
- 复制项目.
- 更改项目名称 3.使用重构更改其程序包名称.
- 更改清单文件中的软件包名称.
- 也更改应用名称.
- 删除所有错误(如果有).
- 将新项目导入eclipse.
- copy the project.
- Change the project name 3.change its package name using refactor.
- change package name fom manifest file.
- change app name aswell.
- Remove all errors if any.
- import new project into eclipse.
这篇关于如何最好地复制一个Android项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文