Android的Studio无法使用SVN认证 [英] Android Studio can't authenticate with SVN
问题描述
我是新的Android的工作室。我试图导入我的项目,与Android工作室的内置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的工作室,它工作正常,但机器人工作室的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.
我所做的:
-
从SVN服务器使用
-
导入项目文件夹中的 TortoiseSVN的
Import project folder from svn server using TortoiseSVN
导入项目到Eclipse和其导出为摇篮(由于项目上 SVN是Eclipse项目)
Import project to eclipse and export it as Gradle (Because project on SVN is eclipse project)
我的SVN服务器是使用svn + ssh的连接。当我试图更新或承诺,机器人工作室不能进行身份验证。
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.
- 进入Android的工作室> preferences>版本控制>颠覆
- 取消选中遵循两个项目
- 使用命令行客户端
- 使用系统默认Subversion配置目录
- Go to 'Android Studio > Preferences > Version Control > Subversion'
- Uncheck follow two items
- Use command line client
- Use system default Subversion configuration directory
这将现在可以正常工作。
It will now work correctly.
这篇关于Android的Studio无法使用SVN认证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!