# Test Your App on mac

In this section, we are going to describe how to build the test **APK file and Run App on Emulator**

There two ways of testing your app: via **Android Studio Emulator or by generating Test APK.**

After you added **app icon** and **website URL** you can launch Emulator by clicking on **Run App** button in the **Toolbar**.

<figure><img src="/files/gHi87Xs2Dt57yZ6Y4AGM" alt=""><figcaption></figcaption></figure>

After that the Emulator will be launched with the app.

If you'd like to test the application on physical android devices, you can create APK file.

For this, you need to go to Terminal in Android Studio

<figure><img src="/files/7j9PowWqBHLzIEX3mCbR" alt=""><figcaption></figcaption></figure>

Then you can make two types APK:&#x20;

1. Test APK for android physical device
2. APK for Google Play

For Test APK you need write in terminal next code:

{% hint style="info" %}
flutter build apk --no-sound-null-safety
{% endhint %}

<figure><img src="/files/QCyAzIuDVj8FqPq3rgv7" alt=""><figcaption></figcaption></figure>

It will take some time, then you will get a notification that the build was successful

<figure><img src="/files/D9JF7zkPNNIxe4Wcgxf0" alt=""><figcaption></figcaption></figure>

For APK Google Play:

{% hint style="info" %}
flutter build appbundle --no-sound-null-safety
{% endhint %}

<figure><img src="/files/haG3pdV33Hm8zHlZV3Qc" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/WWnPZzzq7IPxr2ZIeI5S" alt=""><figcaption></figcaption></figure>


---

# 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://docs.stylemixthemes.com/masterstudy-app-documentation/android-app-build-on-macos/test-your-app-on-mac.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.
