This is general information about the project.
This project sets up Android Studio as an environment to learn Java code in an Android app. This will give anyone who wants to learn Java a more interactive way to do so.
- Android Studio Flamingo | 2022.2.1
Navigate to the Android Studio webpage and click the Download Android Studio Flamingo button. Accept the terms to the agreement that pops up and then click the download button. Once that installs, follow the steps detailed below to get the environment set up and ready to use.
You also may need to install Git if you don't have it. Navigate to the Git download page and download and install Git for your system.
In order to begin using this, you will need to set up your Android Virtual Phone. Follow these steps below to set up your virtual Android Phone:
- Click Project View tab on the left > Go to Device Manager window on right > Click Create Device
- Choose Phone Category > Pick Pixel 4a > Click Next
- Click x86 images tab > Choose Android 11.0(Google APIs) > Click Next
- Name your AVD > Startup Orientation Portrait > Click Enable Device Frame (which is a Personal Preference)
- Click Finish
- Run your Device to make sure it works (NOTE: May take some time to implement) > Under Actions > Launch this AVD in the Emulator (Play Button)
Follow these steps to clone a repository from Github.
- Click Git tab in top menu bar > Choose Clone
- Put in your Repository URL > Walk through prompts
- Click Clone button
Alternative steps to 2:
- Login to Github on Android Studio and select the repository from the dropdown menu and then click clone.
Once you have everything set up, you will then want to run the app to make sure everything is working correctly. Follow these steps below to do that:
- Click Build in top menu bar > Choose Rebuild Project
- Hit the Green Play button at the top right under the menu bar which is the "Run 'app'" button.
If it runs, then you have successfully set everything up!
You will need to pull and commit any changes that are done within Android Studio/Github.
Follow these steps to pull changes:
- Choose Git in top menu bar > Click Pull
- git pull and origin should be in the boxes on the left
- Choose the branch you want the changes from > Click Pull
Follow these steps to commit changes:
- After making needed changes > Click Git in top menu bar > Choose Commit
- Choose the files that you want to commit and add comments as needed
- Click Commit and Push
To check out a branch to make changes, follow these steps:
- Choose Git in top menu bar > Click Fetch
- In the Git tab in the lower left window > Right Click the branch you want to checkout
- Click Checkout in the menu