Skip to content

Commit e882543

Browse files
committed
add windows tutorial
1 parent fd5561e commit e882543

9 files changed

+40
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# Panthera Robótica Tutorials
22
1. [Setup Virtual Robot in Android Studio on macOS](virtualrobot-androidstudio-mac.md)
3+
2. [Setup Virtual Robot in Android Studio on Windows](virtualrobot-androidstudio-windows.md)
Loading
Loading
Loading
Loading
Loading
Loading
Loading

virtualrobot-androidstudio-windows.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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+
![](assets\images\virtualrobot-androidstudio-windows/corretto8-install.png)
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+
![](assets/images/virtualrobot-androidstudio-windows/install-androidstudio.png)
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+
![](assets/images/virtualrobot-androidstudio-windows/androidstudio-download-components.png)
20+
21+
22+
## Loading the Virtual Robot project
23+
1. In Android Studio, select "Get from VCS".
24+
![](assets/images/virtualrobot-androidstudio-windows/get-from-vcs.png)
25+
2. Select the GitHub tab.
26+
3. Add a GitHub token
27+
1. Select "Use token..."
28+
![](assets/images/virtualrobot-androidstudio-windows/use-token.png)
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+
![](assets/images/virtualrobot-androidstudio-windows/setup-token.png)
33+
5. Scroll to the bottom and select "Generate token".
34+
6. Copy the resulting token (`ghp_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX`).
35+
![](assets/images/virtualrobot-androidstudio-windows/copy-token.png)
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

Comments
 (0)