Follow these steps to clone your project and open it in Android Studio.
- Open a browser and go to github.com
- Click Sign in in the top right corner
- Enter your username and password, then click Sign in
Go to one of the following links depending on your project:
- Choice Game: https://github.com/icanhazcodeplz/choiceGame
- Pokemon Battle: https://github.com/icanhazcodeplz/pokemonBattle
- On the repository page, click the green Code button
- Make sure HTTPS is selected (not SSH or GitHub CLI)
- Click the copy icon to copy the URL — it will look like:
https://github.com/icanhazcodeplz/choiceGame.git
- Open the Start menu, search for Git Bash, and open it
- Create a new folder called code by typing:
mkdir code - Move into that folder:
cd code - Type the clone command using the URL you copied:
Or for Pokemon Battle:
git clone https://github.com/icanhazcodeplz/choiceGame.gitgit clone https://github.com/icanhazcodeplz/pokemonBattle.git - Press Enter — Git will download the project into
C:\Users\ComputerXXX\code\choiceGame(orC:\Users\ComputerXXX\code\pokemonBattle)
- Open Android Studio
- On the Welcome screen, click Open
- If you already have a project open, go to File > Open
- Navigate to the folder where you cloned the project (e.g.,
C:\Users\ComputerXXX\code\choiceGame) - Select the project folder and click OK
- Wait for Android Studio to finish loading and syncing the project — this may take a minute
- You're ready to go!
- Git Bash not installed? Download Git for Windows at https://git-scm.com/download/win
- Android Studio asks to open as a project vs. a file? Always choose Open as Project
- Gradle sync errors? Try File > Sync Project with Gradle Files