Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4072 pages
Flutter and app store releases

Android Studio will not open a project checked out with svn

ErrorCan't use Subversion command line client: svn

Short answer

Android Studio does not bundle Subversion. It runs the svn program you name in Settings > Version Control > Subversion > Path to Subversion executable. The error means that field points at nothing usable, or svn is not installed. Install the command line client, confirm svn --version works in a terminal, then paste the real path into that field.

  • Applies to Android Studio current stable, Subversion command line client, macOS 26, Ubuntu 24.04
  • Updated
  • By Maaz Zindani, Senior Software Engineer

Fix it fast

  1. 1Find out which cause you have

    Ask the shell which svn it finds. If this prints nothing, Subversion is not installed, or it is not on the PATH that Android Studio sees. Use the printed path in the field described below.

    which svn
    svn --version --quiet
  2. 2Match what you see, then jump to its fix

    1. 1which svn prints nothing, and svn --version says command not foundThe svn client is not installedFix
    2. 2svn --version works in a terminal, but the balloon still appears in the IDEThe Path to Subversion executable field is empty or points at the wrong fileFix

What does the error look like?

  • Can't use Subversion command line client: svn
  • Can't use Subversion command line client

Cause 1 of 2

The svn client is not installed

1Check

A plain Android Studio install has no Subversion in it. On Windows, TortoiseSVN installs the command line tools only if you tick that option in its installer.

svn --version --quiet

2Fix

Install the command line client. On macOS use Homebrew. On Debian and Ubuntu the package is called subversion. On Windows, re-run the TortoiseSVN installer and add the command line client tools, or use another client from the Subversion packages list.

# macOS
brew install subversion
# Ubuntu / Debian
sudo apt-get install subversion

3Verify

Open a new terminal and run the version command. It prints a version number.

svn --version --quiet

Confirmed by subversion.apache.org

Did this fix it?

Cause 2 of 2

The Path to Subversion executable field is empty or points at the wrong file

1Check

Open Settings (Android Studio > Settings on macOS), then Version Control > Subversion. The Path to Subversion executable field holds the location the IDE runs. A path to a folder, to an old install, or to a TortoiseSVN GUI file will fail.

# macOS / Linux: the full path to paste into the field
which svn
# Windows (cmd)
where svn

2Fix

Click Browse next to the field and pick the svn executable itself (svn on macOS and Linux, svn.exe on Windows), then click Apply and reopen the project.

# typical values to paste
/opt/homebrew/bin/svn
/usr/bin/svn
C:\Program Files\TortoiseSVN\bin\svn.exe

3Verify

The balloon no longer appears when the project opens, and VCS > Update Project works.

svn info .

Confirmed by jetbrains.com

Did this fix it?

How do I stop it coming back?

  • Install the Subversion command line client before you check out a project in the IDE.
  • After upgrading the IDE or the OS, open the Subversion settings page once and confirm the executable path still exists.
  • On Windows, choose the command line tools option when you install or update TortoiseSVN.

Sources

How was this page made?

I drafted this page with AI assistance from the official documents listed under Sources. Every cause above names the document that confirms it. I have not reproduced this fix on a machine of my own yet, so read it as documented guidance, not a test report. Found a mistake? Tell me.

Which stack is behind this page?

Projects of mine built on the same technologies:

Related fixes

Mobile apps

adb tcpip 5555 fails because no device is found

adb: more than one device/emulator

adb tcpip only works while the device is attached and listed by adb, because it tells the phone to start listening on port 5555.

4 causes, each with a fix

Next step

Want this handled for good?

I look after servers, apps and releases end to end. Tell me what keeps breaking.