Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Development Environment Setup

Will Richards edited this page Oct 26, 2020 · 13 revisions

Development Environment Setup

Step 0 - Install the Java JDK

At the time of writing (26/10/2020) the most recent Java JDK is version 15, You will need to download it here. Simply pick the correct version for your system and you should be good to go through the installer normally.

Step 1 - Install Android Studio

To beginning writing code for the robot we need to download Android Studio, Android Studio can be found at this link and the download is straightforward enough that I won't cover it here, If you have issues @ me on Discord.

Step 2 - Setting Up GitHub

Android Studio Startup Screen

Upon initially installing android studio and running it for the first time you will be greeted with the screen shown in the image above.

First, you are going to need to login to GitHub from android studio... So first press the "Configure" button in the bottom right corner of the screen. A small menu will appear, Select "Settings" from that menu and you should be greeted with something similar to the screen below... Settings

Then double click "Version Control" on the side panel... Version Control Settings

Then click "Github" from the submenu... Github Version Control

Input your login details into their respective text fields and press "Test" A small window should then show up saying "Connection Successful"

Step 3 - Setting Up Git

The Git setup can be found here, this will walk you through configuring Git inside Android Studio.

!!! Important !!! Whenever you open the project to get work done Select "VCS" > "Update Project" to get the most recent version !!! Important !!!

Step 4 - Checking out the project from GitHub

After installing and configuring Git we need to check out our repository from GitHub, This can be done by clicking "Check out project from Version Control" And The Selecting "Git" as shown below... Git Checkout

Next, we need to acquire the link to clone the repository this can be done by going to the current year's repository and then pressing "Clone or Download" and then clicking the Clipboard with the line pointing into it as shown below... GitHub Cloning Process

Then return to Android Studio and paste it into the URL box... once again shown below. Cloning Process

If the next section doesn't show (likely won't) ignore it and you should be done

Click all the positive options(EG. "Yes", "Ok", "Next" etc.) Until the following screen appears... main and main1

At this point uncheck main and main1 and the proceed Unchecked

On the next screen when asked JDK you would like to use select JDK from the list as it should come pre-installed with Android Studio. JDK Selection

And finally, press Finish a small window will appear asking if you would like to update Gradle choose "Don't Remind me again for this project" Don't Remind Me Again

You are now finally ready to write code for the robot!!