我如何从SVN信息库中检出一个Android项目 [英] How do i checkout an android project from an SVN repository

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

问题描述

我有一个Android项目,我已经将其添加到SVN信息库。这些是我添加的目录/文件



目录:res,src,lib,



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



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


  1. 通过退出SVN导入项目(这是一个项目A)

  2. 使用在eclipse中创建新项目以创建新项目 - 步骤是:创建新项目 - >从现有的源代码开始的Android项目

你是我没有提交的一些文件,还是在做某事在创建新项目时出错?

解决方案

我花了很多时间尝试从基于Web的SVN提供者将Eclipse项目导入Eclipse(Juno) / p>

看到我找到正确的步骤是多么的困难,我在这里留下我的建议与截图。享受!




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


  • 由于以前的尝试,我已经将供应商的连接正确配置了。 YMYV这里。


  • 我使用SVNKit 1.7,因为它可以在工作中的代理工作。


  • 这是最重要的一步:确保查找小孩中的项目选项


  • 选择 Checkout作为项目


  • 选择您需要的任何工作空间
    < img src =https://i.stack.imgur.com/whwkw.pngalt =选择你需要的任何工作空间>


  • 这个项目已经准备好了!




    • 我在图片中添加了描述,为您的观看乐趣。希望通过找出正确的步骤,可以节省人们很多时间。


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

      Directories : res, src, lib,

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

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

      1. Import project by checking out from SVN (this is a project A)
      2. Using the create new project in eclipse to create the new project - steps are : Create New Projects -> Android Project from Existing Source Code

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

      解决方案

      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!

      • You must have SVN already installed and configured. No previous project is needed in Eclipse

      • I already had the connection to the provider correctly configured due to previous attempts. YMYV here.

      • I use SVNKit 1.7 because it will work just fine over a proxy here at work.

      • Here is the most important step: make sure the Find projects in the children option is selected

      • Choose Checkout as a project

      • Choose whatever workspace you need

      • And voilá, the project is ready to roll!

      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天全站免登陆