> 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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
