我如何从 SVN 存储库中签出一个 android 项目 [英] How do i checkout an android project from an SVN repository

查看:23
本文介绍了我如何从 SVN 存储库中签出一个 android 项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 android 项目,我已将它添加到 SVN 存储库.这些是我添加的目录/文件

I have an android project and I have added it to an SVN repository. These are the directories/files I have added

目录:res、src、lib、

Directories : res, src, lib,

文件:AndroidManiFest.xml、project.properties、proguard.cfg 和 2 个启动文件

Files : AndroidManiFest.xml, project.properties, proguard.cfg, and 2 launch files

但是,当我执行以下操作时,我无法将文件创建为 android 项目

However, when i do the following, I'm not able to create the file as an android project

  1. 通过SVN签出导入项目(这是项目A)
  2. 在eclipse中使用create new project创建新项目-步骤为:Create New Projects->来自现有源代码的 Android 项目

在创建新项目时,是否有一些文件我没有提交或者我做错了什么?

Are thee some files that I have not committed or am I doing something wrong when I'm creating the new project?

推荐答案

我花了很多时间尝试将 Android 项目从基于 Web 的 SVN 提供程序导入 Eclipse (Juno).

I spent a lot of time trying to import an Android project from a web based SVN provider into Eclipse (Juno).

看到我很难找到正确的步骤,我将我的建议留在这里并附上屏幕截图.享受吧!

Seeing how hard it was for me to find out the correct steps, I leave here my suggestion with screenshots. Enjoy!

  • 您必须已经安装和配置了 SVN.Eclipse 中不需要以前的项目

由于之前的尝试,我已经正确配置了与提供程序的连接.YMYV 在这里.

我使用 SVNKit 1.7,因为它可以在工作中通过代理正常工作.

这是最重要的一步:确保选中在子项中查找项目选项

选择 Checkout 作为项目

选择您需要的任何工作空间

瞧,项目已准备就绪!

为了您的观赏乐趣,我在图像中添加了描述.希望在找出正确的步骤后,它可以为我节省很多时间.

I added descriptions into the images, for your viewing pleasure. Hope it saves someone a lot of time as it did to me after figuring out the correct steps.

这篇关于我如何从 SVN 存储库中签出一个 android 项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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