> For the complete documentation index, see [llms.txt](https://docs.appmysite.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appmysite.com/app/preview/test-apk-on-real-device.md).

# Test APK on real device

### How to test the .APK file on a real Android device?

You can install the APK file on an Android device to test your app’s functionality before publishing it to the Google Play Store. Follow the steps below to install and test your APK file.

#### **Step 1: Download the APK file**

* Navigate to [**Download**](https://app.appmysite.com/app/download) from the side menu.
* Once the build is generated, click Download APK to download the file.

#### **Step 2: Transfer the file to your mobile device**

* If you downloaded the APK file on a computer, transfer it to your Android device using email, USB, or any file transfer method.
* If you downloaded it directly on your Android device, proceed to the next step.

#### **Step 3: Enable installation from unknown sources**

* Open Settings on your Android device.
* Go to Security > Device Administration > Unknown Sources.
* Turn on the toggle for Unknown Sources to allow app installation from sources other than the Google Play Store.

{% hint style="warning" %}
Enabling installation from unknown sources is necessary to manually install an APK file on an Android device.
{% endhint %}

#### **Step 4: Install the APK file**

* Locate the APK file in your device’s storage (usually in the Downloads folder).
* Tap on the file to begin installation.
* Confirm the installation if prompted.

#### **Step 5: Test your app**

* Once installed, launch the app and test its features, navigation, and performance.
* Ensure that all functionalities, buttons, and pages are working as expected.

{% hint style="success" %}
Installing the APK file on a real device allows you to test the complete app experience before submitting it to the Play Store.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.appmysite.com/app/preview/test-apk-on-real-device.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
