Skip to content

Installation

Michonster edited this page Feb 1, 2022 · 6 revisions

Things to add:

  1. google maps API key: show how to generate one and where to store it: After installation section
  2. Add build tools corrupted issue fix: stack overflow link: add to installation
  3. Show what directory to open in android studio: add to installation
  4. Show what emulator is best to install/show how to install emulator: Pixel 5 API version S 31: add a separate section

Setup

Installation

  1. Download Android Studio Here. This is where we write the code. spam click next on the setup page unless you would like to change the default settings. Once the setup wizard page opens, click next twice, then make sure the UI theme is darcula and click next a third time and click finish. This may take a while to install completely.

  2. Set up WSL Here. This can be annoying to do, so good luck!

  3. install git.
    a. first run this line in ubuntu.
    apt-get install git Ubuntu might tell you to use sudo apt-get install git instead.
    Next, sign into www.github.com, or sign up if you do not have an account. Make sure to remember the username you give, this will be important for later.

    b. go back to the terminal and run this command, but replace "your_username" with your own name (keep the quotation marks):
    git config –global user.name "your_username"
    and this command, replacing "your_emailid" with your own email address (keep the quotation marks):
    git config –global user.email "your_emailid"
    these commands will link your username and email to your computer, so github knows who authored your commits.

  4. clone the shuttle-tracker-android repository. Run the command
    git clone https://github.com/wtg/Shuttle-Tracker-Android.git The code should be found in the folder titled Shuttle-Tracker-Android.

  5. Open android studio again, click open and navigate to the shuttle tracker project. You are now able to start working it I think

  6. TODO: add guide for compiling and setting up virtual android phone

Clone this wiki locally