This is a follow up question to this question:
这是这个问题的后续问题:
Android Studio can't authenticate with SVN
Android Studio无法通过SVN进行身份验证
I got an Android project which I used in Eclipse and I just converted it to a working AS project. When using Eclipse, the SVN works fine. When using AS for some reason, every time I try to commit or update, I get a prompt asking for my user name and password and it keeps repeating itself without ever succeeding. When I press cancel I get this error:
我有一个我在Eclipse中使用的Android项目,我只是将它转换为一个有效的AS项目。使用Eclipse时,SVN工作正常。当我出于某种原因使用AS时,每次尝试提交或更新时,都会得到一个提示,询问我的用户名和密码,并且它会不断重复,而不会成功。当我按下取消时,我收到此错误:
Error:svn: 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:使用svn + ssh:// URL时,请记住--username和--password选项被忽略,因为身份验证是通过SSH执行的,而不是Subversion
svn: E170012: Unable to connect to a repository at URL 'svn+ssh://...
svn:E170012:无法连接到URL'svn + ssh://的存储库...
svn: E170012: Can't create tunnel
svn:E170012:无法创建隧道
svn: E720002: Can't create tunnel: The system cannot find the file specified.
svn:E720002:无法创建隧道:系统找不到指定的文件。
What I tried until now was Uncheck follow two items
我到现在为止尝试的是取消选中以下两项
Use command line client
Use system default Subversion configuration directory
Also, I tried editing the servers file in the SVN config's folder with:
另外,我尝试使用以下命令编辑SVN配置文件夹中的服务器文件:
store-passwords = yes
store-ssl-client-cert-pp = yes
store-plaintext-passwords = yes
store-ssl-client-cert-pp-plaintext =yes
What else can be done?
还有什么可以做的?
1 个解决方案
#1
0
I ended up just checking out the project again to a new folder even without setting all the things I wrote in the question and everything started working
我最终只是再次检查项目到一个新的文件夹,即使没有设置我在问题中写的所有东西,一切都开始工作
#1
0
I ended up just checking out the project again to a new folder even without setting all the things I wrote in the question and everything started working
我最终只是再次检查项目到一个新的文件夹,即使没有设置我在问题中写的所有东西,一切都开始工作