`svn checkout` fails with the “cannot run program” “cannot find the file specified” error
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:
- Make sure that you use the latest version of Android Studio IDE.
- 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/
- Add the command-line client to %PATH% environment variable.
- 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/
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
I am not sure if accepted answers works. But Android Studio-> Settings->Subversion-> Uncheck "Use command-line client" worked for me!