Skip to content

Commit

Permalink
add instructions to setup the Android development environment
Browse files Browse the repository at this point in the history
  • Loading branch information
martinm82 committed Sep 9, 2019
1 parent 2aec249 commit 6f7aad7
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion responses/00.01-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,26 @@ For simplicity reasons this course will provide you instructions on using the
terminal and Gradle.

Apart from that you will need an Android phone so that you will be able to install
the creatd application on your own phone.
the created application on your own phone.

Now let's cover the pre-requisites.

## Step 1: Build the project locally

### :keyboard: Activity: Set up your Android development environment

1. Ensure you have Java 1.8 installed (eg. https://adoptopenjdk.net/installation.html)
1. Go to the Android Studio page: [https://developer.android.com/studio](https://developer.android.com/studio).
1. Go to the `Command line tools only` section or search for `sdk-tools-`. There you will find the zips which are around 150MB.
1. Download the SDK tools for your platform.
1. Extract and set your `ANDROID_SDK_ROOT` environment variable to the extracted location. Add this environment variable to your `~/.bashrc` or `~/.bash_profile`.
1. Go to the `$ANDROID_SDK_ROOT/tools/bin/` folder
1. Run the `sdkmanager` command to accept all unaccepted licenses
```bash
./sdkmanager --licenses
```
Just say `y` for all

### :keyboard: Activity: Clone the repository and build the project

1. Open your terminal
Expand Down

0 comments on commit 6f7aad7

Please sign in to comment.