Skip to content Skip to sidebar Skip to footer

`svn Checkout` Fails With The “cannot Run Program” “cannot Find The File Specified” Error

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-->

Solution 1:

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. 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.

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/

Solution 2:

None of the answers here were working for me, though they were on the right track. This was the solution for me:

  • Download SVN command line tool from http://www.visualsvn.com/downloads/ as bahrep mentioned. Stick the binaries somewhere.

  • In IDEA: File > Settings > Version Control > Subversion > And then...

  • Make sure "Use command line client" is checked and select the path of your SVN.EXE.

By default, the path was simply set as svn. I had to change it to c:\wherever\i\put\it\svn.exe

Solution 3:

I am not sure if accepted answers works. But Android Studio-> Settings->Subversion-> Uncheck "Use command-line client" worked for me! enter image description here

Solution 4:

I Have Android studio version 0.8.14 Here is What I have done

Go to settings-> (Preference in Mac)->subversion-> in general tab uncheck the three box :

  1. User Command Line Client
  2. Use system default blalbala
  3. Update Administrative blabla

And go to Network Tab : select SSL Protocol to : SSLv3

Hope it Works. mine working like a charm.

Solution 5:

I've got Android Studio v1.4.1 and...

  1. Check that the SVN plug in is present and activated. (/File/Settings, Subversion Integration should be in the list.
  2. / File/ Settings/ Version Control/ Subversion/ Uncheck use command line client
  3. Test communicating with the repository via / VCS / Browse VCS Repository / Browse Subversion Repository. The SVN Repositories window should appear and you can add your repository there and see what is inside that repository.

By default Use command line client is checked but you can change that with / File / Other Settings / Default Settings / etc. etc.

Post a Comment for "`svn Checkout` Fails With The “cannot Run Program” “cannot Find The File Specified” Error"