Android Studio - Push failed: fatal: Could not read from remote repository

前端 未结 12 1136
醉酒成梦
醉酒成梦 2021-01-31 07:26

I have a git project at Android Studio and a remote at BitBucket and I changed it to use SSH instead of HTTPS. I can make everything work using Atlassian\'s SourceTree, but in A

12条回答
  •  孤独总比滥情好
    2021-01-31 07:40

    I got the same issue. Turns out it matters how you run Android Studio. If you run it with normal privileges from terminal or sth, it cannot read local files that it has to in order to push repository.

    Solution might just be to restart Android Studio with more privileges than it currently has.

提交回复
热议问题