|
| 1 | +# Setup Virtual Robot in Android Studio on Windows |
| 2 | + |
| 3 | +## Installing dependencies |
| 4 | +1. Download [git](https://github.com/panthera2021/panthera2021.github.io/releases/download/virtualrobot-androidstudio-windows/Git-2.33.0.2-64-bit.exe) and [java](https://github.com/panthera2021/panthera2021.github.io/releases/download/virtualrobot-androidstudio-windows/amazon-corretto-8.302.08.1-windows-x64-jdk.msi) |
| 5 | + |
| 6 | +2. Run the installers for each. Leave all of the settings as their defaults. |
| 7 | + |
| 8 | +  |
| 9 | + |
| 10 | +## Installing Android Studio |
| 11 | +1. Download the [Android Studio installer](https://redirector.gvt1.com/edgedl/android/studio/install/2020.3.1.24/android-studio-2020.3.1.24-windows.exe). |
| 12 | +2. Open the installer. Leave all of the settings as their defaults. |
| 13 | + |
| 14 | +  |
| 15 | + |
| 16 | +4. Open the newly installed Android Studio app. |
| 17 | +5. In the setup helper, select the "Standard" installation type. Leave all of the default settings. |
| 18 | + |
| 19 | +  |
| 20 | + |
| 21 | + |
| 22 | +## Loading the Virtual Robot project |
| 23 | +1. In Android Studio, select "Get from VCS". |
| 24 | +  |
| 25 | +2. Select the GitHub tab. |
| 26 | +3. Add a GitHub token |
| 27 | + 1. Select "Use token..." |
| 28 | +  |
| 29 | + 2. Select "Generate..." |
| 30 | + 3. It will open the GitHub token creation page. |
| 31 | + 4. Leave everything the same except the **Expiration**, set this to *"No expiration"*. You may need to change the **Note** section if you have another token with the same name. |
| 32 | +  |
| 33 | + 5. Scroll to the bottom and select "Generate token". |
| 34 | + 6. Copy the resulting token (`ghp_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX`). |
| 35 | +  |
| 36 | + 7. In Android Studio, paste this token and click "Log In". |
| 37 | +4. In the list of repositories, select your fork of virtual robot (`virtual-robot` or similar). |
| 38 | + > It is recomended that you clone your own *personal* fork, not the `panthera2021/virtual-robot` repo because you need to do the tutorial by yourselves. |
| 39 | +6. Click "Clone". |
0 commit comments