Skip to the content.

Setup Virtual Robot in Android Studio on Windows

Installing dependencies

  1. Download git and java

  2. Run the installers for each. Leave all of the settings as their defaults.

Installing Android Studio

  1. Download the Android Studio installer.
  2. Open the installer. Leave all of the settings as their defaults.

  3. Open the newly installed Android Studio app.
  4. In the setup helper, select the “Standard” installation type. Leave all of the default settings.

Loading the Virtual Robot project

  1. In Android Studio, select “Get from VCS”.
  2. Select the GitHub tab.
  3. Add a GitHub token
    1. Select “Use token…”
    2. Select “Generate…”
    3. It will open the GitHub token creation page.
    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.
    5. Scroll to the bottom and select “Generate token”.
    6. Copy the resulting token (ghp_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX).
    7. In Android Studio, paste this token and click “Log In”.
  4. In the list of repositories, select your fork of virtual robot (virtual-robot or similar).

    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.

  5. Click “Clone”.