Installing Android Studio
Set up your development environment.
What is Android Studio?
Android Studio is the standard IDE recommended for FTC teams looking for complete control over their code. It provides the editor, build tools, emulator support, and Gradle integration used by the FTC SDK.
Installation
First, visit the Android developer website to download and install the latest version of Android Studio.
Then, click on the white "Download Android Studio [version]" to start the download process.
Finally, accept the terms and download the installer for your respective operating system. Follow all the defaults and you should be ready to fly!
Android SDK Setup
- Enter the settings using the following commands, or by clicking on the settings icon in the top right.
- Windows: Ctrl + Alt + S
- MacOS: Cmd + , (comma)
- Click into Languages & Frameworks, and then Android SDK.
- Select Android 14.0 and click Apply in the bottom right of the menu.
Java 17 Setup
- Enter the settings using the following commands, or by clicking on the settings icon in the top right.
- Windows: Ctrl + Alt + S
- MacOS: Cmd + , (comma)
- Click into Build, Execution, Deployment, then Build Tools, and then Gradle.
- Click on the dropdown where it says "GRADLE_LOCAL_JAVA_HOME".
- Click download JDK...
- Select 17, select any vendor, and click download.
- Set your Gradle JDK Version to your new Java 17 installation.
ADB Wifi Setup (optional)
We now have our IDE set up, but how will we download code to our robot? ADB, or Android Debug Bridge solves that for us. It lets us connect to our robot controller over Wi-Fi and allows us to upload code without the need for a physical connection. Below is the easiest way to do so.
- Enter the plugins menu by clicking on the settings icon in the top right and selecting Plugins...
- Select Marketplace and search for "ADB Wi-Fi", by Yuri Polek.
- Click Install.
Now, to access your connected android devices, click on the Wi-Fi icon in the right menu.
What to do next
Once Android Studio is working, move to Setting Up FTC Robot Controller.
Was this resource helpful?
