I\'m new to Android development and the development tools around it. I have checked out a project from svn using TortoiseSVN client (can\'t manage to do it from within Andro
I use the IDE Phpstorm,but I think it maybe the same as AS.
1.You should reinstall the svn. And choose option modify.
And next step,you can see the command line client tools.
Let's choose first one: Will be installed on local hard drive.
2.Now restart you computer.
Go to the svn location,all the time it will be C:\Program Files\TortoiseSVN\bin.
If you see the svn.exe
in C:\Program Files\TortoiseSVN\bin,it proved that we reinstall command line client successfully.
Copy C:\Program Files\TortoiseSVN\bin\svn.exe
into the IDE.
3.Restart you IDE.It is ok!
Android Studio cannot find the svn
command because it's not on PATH
, and it doesn't know where svn
is installed.
One way to fix is to edit the PATH
environment variable: add the directory that contains svn.exe
. You will need to restart Android Studio to make it re-read the PATH
variable.
Another way is to set the absolute path of svn.exe
in the Use command client box in the settings screen that you included in your post.
UPDATE
According to this other post, TortoiseSVN doesn't include the command line tools by default. But you can re-run the installer and enable it. That will add svn.exe
to PATH
, and Android Studio will correctly pick it up.
i was also getting the same Error, if you are using TortoiseSVN-1.9.5 just do two step Process 1:Click on TSVN.exe tool and 2:Select there on Second Window the Command line for Save on Local Drive with giving the path 3:Click ok Now Restart You Android Studio/IntelliJ
I have fixed the issue after upgrading existing svn client on mac OS X with following link:(1.7.x to 1.9.x)
https://ahmadawais.com/installing-svn-subversion-on-yosemite-after-removing-the-old-version/
replace ‘svn’ with your svn installed path like ‘/usr/local/bin/svn’
If you are using ubuntu, check weather subversion is installed or not.
If not then install through command line as
sudo apt-get install subversion
and check following configurations are selected
On Ubuntu 20.04:
sudo apt install subversion