-
Notifications
You must be signed in to change notification settings - Fork 0
Development Environment Setup
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.
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.
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...
Then double click "Version Control" on the side panel...
Then click "Github" from the submenu...
Input your login details into their respective text fields and press "Test" A small window should then show up saying "Connection Successful"
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 !!!
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...
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...
Then return to Android Studio and paste it into the URL box... once again shown below.
Click all the positive options(EG. "Yes", "Ok", "Next" etc.) Until the following screen appears...
At this point uncheck main and main1 and the proceed
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.
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"
You are now finally ready to write code for the robot!!