问题
I'm having trouble with a project using a private bitbucket maven repo, it was previously working but since upgrading to android studio RC gradle cannot find the repo whilst it is set to private. Unchecking the "This is a private repository" option on bitbucket resolves the issue but this isn't a viable solution.
回答1:
I used to struggle against this problem a year ago. The solution was to use synergian plugin. It uses your native git client and its configuration so there is no need to provide your credentials in plain text but use a RSA key. Give it a try and you won't regret.
来源:https://stackoverflow.com/questions/27320119/private-bitbucket-maven-repo