Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,467,278
Community Members
 
Community Events
177
Community Groups

Not able to clone repository using android studio

Edited

I am not able to clone , push and pull to repo using android  studio as getting error like this.

No such device or address failed to execute prompt script (exit code 1) could not read Password for 'https://<username>@bitbucket.org': No such file or directory. 

 

Please assist on this. Its also related to askpass stuff. 

2 answers

Let me jump in and confirm that problem. On a newly configured notebook I'm not able to clone an existing project into Android Studio Bumblebee. I'm facing the exact same errors as hardik22.

Hardik, You would need to pass in the repo address what you have above is an account address I think.

To get the repo url:

1. Go to your repository page and click on "Clone".

2. From their select "HTTPS" dropdown

3. Copy the URL to clone and use in Android Studio

Thats for clone.  Issue is thrown by Android studio is : 

Invocation failed Unexpected end of file from server java.lang.RuntimeException: Invocation failed Unexpected end of file from server at org.jetbrains.git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:30) at org.jetbrains.git4idea.http.GitAskPassApp.main(GitAskPassApp.java:58) Caused by: java.net.SocketException: Unexpected end of file from server at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:866) at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689) at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:863) at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1615) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520) at org.apache.xmlrpc.DefaultXmlRpcTransport.sendXmlRpc(DefaultXmlRpcTransport.java:87) at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178) at org.jetbrains.git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:27) ... 1 more unable to read askpass response from '/home/user/.cache/Google/AndroidStudio2021.1/tmp/intellij-git-askpass-local.sh' could not read Password for 'https://<username>@bitbucket.org': No such device or address

You can try cloning via `ssh` and saving your key in Bitbucket. That should resolve this.

Like waiveon likes this

Hi @hardik22,

This looks to be a bug with Android Studio, I would suggest reporting it to their support team.

On this page https://developer.android.com/studio there is a link to Report platform bug:

In the meantime, I would suggest trying the following:
- use a command-line application to clone
- you can set up SSH and use that instead of HTTPS as Ankit suggested, until the issue is resolved

Just a heads up, I removed your username from your posts to protect your privacy.

Kind regards,
Theodora

Like Robin likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events