android - 我如何从 SVN 存储库中 check out 一个 android 项目

标签 android eclipse svn eclipse-plugin subclipse

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

目录:res、src、lib、

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

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

  1. 通过从 SVN checkout 导入项目(这是项目 A)
  2. 使用 create new project 在 eclipse 中创建新项目 - 步骤是:Create New Projects -> Android Project from Existing Source Code

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

最佳答案

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

看到我很难找到正确的步骤,我把我的建议留在这里截图。享受吧!

  • 您必须已经安装并配置了 SVN。 Eclipse 中不需要以前的项目 You must have SVN already installed and configured. No previous project is needed in Eclipse

  • 由于之前的尝试,我已经正确配置了与提供商的连接。 YMYV 在这里。 I already had the connection to the provider correctly configured due to previous attempts. YMYV here.

  • 我使用 SVNKit 1.7,因为它可以在工作时通过代理正常工作。 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.

  • 选择Checkout 作为项目 Choose checkout as a project

  • 选择您需要的任何工作空间 Choose whatever workspace you need

  • 瞧,项目已准备就绪! And *voilá*, the project is ready to roll!

为了您的观赏乐趣,我在图片中添加了描述。希望在找出正确的步骤后,它能像我一样为别人节省很多时间。

关于android - 我如何从 SVN 存储库中 check out 一个 android 项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11326189/

相关文章:

android - 构造函数中的变量在 Kotlin 中应该是私有(private)的或公共(public)的

android - Android API 级别 10 中的外部设备/USB 支持

android - 在 Eclipse 中删除文件导致每个图像都是错误的

c++ - 如何将权限级别从 Linux 上的 C++ 程序提升到 root

svn - Xcode 和 SCM 冲突错误

svn - 导入SVN,要么get file exists 要么 file not found 错误

java - 运行应用程序时只能看到主屏幕,看不到我的应用程序

eclipse - 使用 Eclipse 导出一个独特的 war holding RESTlet 和 Servlet 一起为 Tomcat 工作

svn - Sublime text 2 中的 PATH 错误中找不到“svn”二进制文件

android native 库未随 APK 安装