Android Studio 无法通过 SVN 进行身份验证 [英] Android Studio can't authenticate with SVN

查看:47
本文介绍了Android Studio 无法通过 SVN 进行身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Android Studio 的新手.我正在尝试导入我的项目并使用 android studio 的内置 svn.

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

当我将项目导入android studio时,它工作正常,但是当我更新、提交时android studio的svn无法验证...

When I import the project to android studio, it works fine but the svn of android studio can't authenticate when I update, commit...

身份验证对话框反复出现.

The authentication dialog re-appears repeatedly.

我做了什么:

  1. 使用 TortoiseSVN

导入项目到 eclipse 并将其导出为 Gradle(因为项目在SVN是eclipse项目)

Import project to eclipse and export it as Gradle (Because project on SVN is eclipse project)

我的 SVN 服务器是 'svn+ssh' 连接.当我尝试更新或提交时,Android Studio 无法进行身份验证.

My SVN server is 'svn+ssh' connect. When I'm trying to update or commit, Android studio can't authenticate.

错误:

svn: E204899: E170012: When using svn+ssh:// URLs, keep in mind that the --username and --password options are ignored because authentication is performed by SSH, not Subversion
svn: E170012: Unable to connect to a repository at URL 'svn+ssh://zuranai.arx-project.com/opt/SVN1.zap_dev/trunk/android'
svn: E170012: Can't create tunnel
svn: E720002: Can't create tunnel: The system cannot find the file specified.

我的安卓工作室出了什么问题?有什么建议吗?


我无法提交,更新但仍然可以恢复.

What's wrong with my android studio? Any advice?

Edited:
I can't commit, update but still can revert.

推荐答案

我遇到了同样的问题,但找到了解决方案.

I had same problem, but found a solution.

  1. 转到Android Studio > 首选项 > 版本控制 > Subversion"
  2. 取消勾选关注两项
    • 使用命令行客户端
    • 使用系统默认的 Subversion 配置目录

现在可以正常工作了.

这篇关于Android Studio 无法通过 SVN 进行身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆