Skip to content
Discussion options

You must be logged in to vote

If you're unable to access a private shared repository in Android Studio, try these steps:

  1. Check Your GitHub Access Permissions
    Ensure the repo owner has granted you proper access (Collaborator or Organization member).

Verify by visiting the repo URL in a browser while logged into your GitHub account.

  1. Use the Correct Authentication Method
    HTTPS (Recommended for Most Users)
    In Android Studio:

Go to File → New → Project from Version Control → Git.

Paste the HTTPS URL of the repo (e.g., https://github.com/username/repo.git).

When prompted, log in with:

Your GitHub username and a Personal Access Token (PAT) (required since GitHub deprecated password auth).

Create a PAT with repo permissions.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@RanjeetConduent
Comment options

@RokeJulianLockhart
Comment options

Answer selected by RanjeetConduent
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Repositories The core of version-controlled code storage Question Ask and answer questions about GitHub features and usage
3 participants