Setup Your Workspace
Setting up Android Studio
Turn on Android Studio
Lets start setting up your workspace. Android Studio should already be installed, so boot it up.
After you have done so, we are ready to start.
Set Up Git (Version Control)
First, download git Here.
Run the executable after downloading, and go through the steps to download. Remember to put the downloaded file somewhere you can find, as this will be necessary later.
Set-up Roadrunner Quickstart
Next, you will have to import a FTC quickstart project.
Why do we import a project? A empty project means that it isnt set up to communicate with the hardware, and there will not be a library, for you to use, when coding.
We will use Git, a version control system, to backup our project and code.
Select the Get From VCS
option.
Select Configure
.
Select the little File icon.
Now, locate the file location in which you put the git download from the last step.
Then, navigate into the file and find git-bash.exe, go ahead and select it.
apply the settings.
Now, copy This Link and paste it into the URL input.
Press Clone, and the Quickstart project has now been setup.
Sync Gradle
Now that we have setup the quickstart, we need to sync the gradle.
Gradle is a automation tool for multi-language software developement, which is what the FTC library is.
To sync, it we need to locate the gradle sync button, at the top right corner of the screen.
Press it, and then wait.
After a few minutes, the sync is completed.