Error “can't use subversion command line client : svn” when opening android project checked out from svn

后端 未结 14 1540
清酒与你
清酒与你 2020-12-02 07:20

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

14条回答
  •  难免孤独
    2020-12-02 07:48

    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.

提交回复
热议问题