# Getting setup

**Prerequisites:**

* A Linux, Windows, macOS computer
* Git client installed
* Android Studio installed

**Step 1: Clone the Simprints repository**

Open a terminal window and navigate to the desired location on your computer where you want to clone the repository. Then, run the following command:

```bash
git clone https://github.com/Simprints/**Repo of choice**
```

This will clone the Simprints repository to the specified location.

**Step 2: Build the Simprints SDK**

To build the Simprints SDK, run the following command:

```gradle
./gradlew build
```

This will build the SDK and produce an APK file in the `build/outputs/apk` directory.

**Step 3: Load the APK onto a phone**

Connect your phone to your computer via USB and enable USB debugging mode on your phone. Then, copy the APK file from the `build/outputs/apk` directory to your phone.

**Step 4: Load the APK into the IDE**

Open the APK file in your Android Studio IDE. This will install the Simprints SDK on your phone and open the app in the IDE.

**Step 5: Make changes to the code**

Make the desired changes to the code in the repository.

**Step 6: Build the updated SDK**

To build the updated SDK, run the following command in the cloned repository directory:

```gradle
./gradlew build
```

This will overwrite the existing APK file in the `build/outputs/apk` directory with the updated version.

**Step 7: Reload the updated SDK onto the phone**

Copy the updated APK file from the `build/outputs/apk` directory to your phone.

**Step 8: Test the updated SDK**

Launch the Simprints app on your phone and test the updated functionality.

**Notes:**

* You can run the `gradlew build` command repeatedly to build the SDK with the latest changes.
* The first time you run the `gradlew build` command, downloading and installing the required dependencies may take some time.
* Check the logs for more information if you encounter errors during the build process.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://simprints.gitbook.io/docs/development/getting-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
