Android Studio can't authenticate with SVN

前端 未结 4 657
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-12 14:38

I\'m new in Android Studio. I\'m trying to import my project and work with the built-in svn of android studio.

When I import the project to android studio, it works

相关标签:
4条回答
  • 2021-02-12 15:11

    Please have a look on issue reported in Intellij Idea with some workarounds in reply if it helps you

    http://youtrack.jetbrains.com/issue/IDEA-26844 (Srinivas Reply)

    and

    http://youtrack.jetbrains.com/issue/IDEA-81294 (Irina Chernushina (JetBrains))

    you need to set your configuration info in SVN tunnel config file(~/.subversion/config) kssh = /your/path/to/ssh

    in tunnel section.example mine looks like : kssh = /usr/bin/ssh

    Remember you need to point your IDE to use subversion config file in the subversion options or change it in ~/.subversion_IDEA/config file

    0 讨论(0)
  • 2021-02-12 15:12

    I had same problem, but found a solution.

    1. Go to 'Android Studio > Preferences > Version Control > Subversion'
    2. Uncheck follow two items
      • Use command line client
      • Use system default Subversion configuration directory

    It will now work correctly.

    0 讨论(0)
  • 2021-02-12 15:13

    I also have this problem. Here is how i solve it: On the "File" menu,click "Invalidate Cashes/Restart..."

    then,the problem solved!

    0 讨论(0)
  • 2021-02-12 15:17

    Maybe an other solution : in my case, the SVN SSL certificate is a self-signed, so AndroidStudio won't make checkout until the certificate is accepted. It seems that AndroidStudio doesn't ask what the user want to do.

    The solution was to make a checkout with tortoiseSVN (do it with svn command line otherwise) in a temporary folder. Tortoise asked you for accepting the certificate : choose 'Permanently accept'. After that, AndroidStudio checked out successfully my files.

    Please note that AndroidStudio might be configured to use the system svn environment (File > Settings > Version Control > Subversion).

    Hope it will help.

    0 讨论(0)
提交回复
热议问题