`svn checkout`失败,并出现“无法运行程序"“找不到指定的文件"错误 [英] `svn checkout` fails with the “cannot run program” “cannot find the file specified” error

查看:226
本文介绍了`svn checkout`失败,并出现“无法运行程序"“找不到指定的文件"错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用Google代码检查示例.它要求我使用SVN Checkout检出源. Sine我正在使用Android Studio,我在VCS中使用了Subversion检出选项->从版本控制检出-> Subversion.但是,我遇到了一个错误.我做错了他们的事吗?

I'm Checking a sample in google code. It requested me to checkout the source using SVN Checkout. Sine I am using Android Studio, I used the Subversion checkout options in VCS-->Checkout from version control-->Subversion. Howerver I encountered an error. Is their something I have done wrong?

签出google源代码.

Checking out google sourcecode.

错误= 2

如您所见,图片中您可以看到文件夹,当然还有源,但是为什么找不到它?

As you can see in this, picture you can see the folders and of course the sources but how come it could not find it?

推荐答案

错误Cannot load supported formats: Cannot run program "svn": Create process error=2, The system cannot find the file specified表示Android Studio/IntelliJ IDEA无法在您的计算机上找到Subversion 1.8命令行客户端.请按照以下步骤解决问题:

The error Cannot load supported formats: Cannot run program "svn": Create process error=2, The system cannot find the file specified indicates that Android Studio / IntelliJ IDEA can't locate Subversion 1.8 command-line client on your machine. Follow these steps to solve the issue:

  1. 确保使用最新版本的Android Studio IDE.
  2. 确保在系统上安装了命令行svn.exe 1.8客户端.您可以在 http://www.visualsvn.com/downloads/
  3. 上获得一个.
  4. 将命令行客户端添加到%PATH%环境变量.
  5. 重新启动Android Studio.
  1. Make sure that you use the latest version of Android Studio IDE.
  2. Make sure that command-line svn.exe 1.8 client is installed on your system. You can get one at http://www.visualsvn.com/downloads/
  3. Add the command-line client to %PATH% environment variable.
  4. Restart Android Studio.

您可能想阅读有关IntelliJ IDEA的同一问题的相关博客文章:

You may want to read the related blog post about the same issue with IntelliJ IDEA: http://blog.jetbrains.com/idea/2013/12/subversion-1-8-and-intellij-idea-13/

这篇关于`svn checkout`失败,并出现“无法运行程序"“找不到指定的文件"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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