简体   繁体   English

Android有一个简单的方法备份您的Android项目?

[英]Android is there a easy way to back up your android project?

I keep messing up my android project. 我一直搞乱我的android项目。 I started save ing whole work space. 我开始节省整个工作空间。 Is there a way to simply backup your peoject? 有没有办法简单地备份您的项目? For example iphon has a thing called snap shoot. 例如,iphon有一个叫做拍摄的东西。 Is there something like this in eclips? 在eclips中有这样的东西吗?

Ted, 特德

Have you considered a source code revision control system ?? 您是否考虑过源代码修订控制系统

There are a lot of options for this. 这有很多选择。 I personally use subversion and a free hosting site unfuddle . 我个人使用的颠覆和免费托管网站unfuddle

Other user suggested options... 其他用户建议的选项......

Revision control programs: 修订控制程序:

Hosting Options: 托管选项:

You can also revert to a previous version if you are using Eclipse. 如果您使用的是Eclipse,也可以恢复到以前的版本。 Eclipse has this nice functionality called Local history that allows it. Eclipse有一个很好的功能叫做Local history ,允许它。 Right click on a file and use " compare with... " -> " Local History ". 右键单击文件并使用“ 与...比较 ” - >“ 本地历史记录 ”。

You can then compare your current version with old ones. 然后,您可以将当前版本与旧版本进行比较。 You can merge select part of the code or right click on the old version and replace all your current version with the old one. 您可以合并代码的选择部分或右键单击旧版本,并将所有当前版本替换为旧版本。

Number of entries and duration of conservation of old version can be configured in Eclipse preferences in " General " -> " Workspace " -> " Local history " 可以在“ 常规 ” - >“ 工作区 ” - >“ 本地历史记录 ”中的Eclipse首选项中配置旧版本的条目数和保存期限

I recommend downloading TortoiseSVN and using Subclipse. 我建议下载TortoiseSVN并使用Subclipse。 Look those up. 看那些。

You could just create a backup of the project folder, rather than the entire workspace. 您可以只创建项目文件夹的备份,而不是整个工作区。 Then if you need it again, create a new project from existing source using that folder later. 然后,如果您再次需要它,请稍后使用该文件夹从现有源创建一个新项目。

File -> Export... -> General -> Archive File 文件 - >导出... - >常规 - >存档文件

Or start using subversion (eclipse plugin: subclipse) 或者开始使用subversion(eclipse插件:subclipse)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在android中重命名项目的简便方法 - Easy way to rename a project in android Android ImageView速度慢,有没有简单的方法可以加快速度? - Android ImageView slow, is there a easy way to speed it up? 陀螺仪Android轻松实现 - Gyroscope android in a easy way 是否有一种简单的方法可以将Android设置为仅在需要时更新屏幕? - Is there an easy way to set up Android to only update screen when it needs to? Android:有没有一种简单的方法可以找到我项目中的所有字符串? - Android: is there an easy way to find all the Strings in my project? 是否有一种简单的方法可以使用LibGDX与iOS项目共享Android翻译? - Is there an easy way to share Android translations with an iOS project using LibGDX? 如何为用户提供从Android应用程序中的WebKit会话返回的简便方法? - How can I give the user an easy way back from a WebKit session in my Android application? 将图像添加到Android ListView的简便方法 - Easy way to add images to an Android ListView 使用Android支持库的简便方法? - Easy way to go with Android Support Library? 在Android中使ListPreference多选的简单方法? - Easy way to make the ListPreference multiple choice in Android?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM