---
title: "Install app"
method: POST
path: "/boxes/{boxId}/android/packages"
tags: ["Android"]
---

# Install app

`POST /boxes/{boxId}/android/packages`

Install an Android app on the box

## Path parameters

- `boxId` string, required

## Response `201`

Android pkg installed

- InstallAndroidPkgResult — Response containing the result of installing an Android pkg
  - `packageName` string, required — Android pkg package name
  - `apkPath` string, required — Android apk path
  - `pkgType` 'system' | 'thirdParty', required — system or thirdParty
  - `activities` AndroidPkgActivity[], required — Activity list
    - `name` string, required — Activity name
    - `className` string, required — Activity class name
    - `packageName` string, required — Activity package name
    - `isExported` boolean, required — Activity class name
    - `isMain` boolean, required — Whether the activity is the main activity. Main activity is the entry point of the pkg and is typically launched when the pkg is started.
    - `isLauncher` boolean, required — Whether the activity is a launcher activity. Launcher activities appear in the device's pkg launcher/home screen and can be directly launched by the user.

## Other responses

- `413` — Apk file too large (max 512MB)

---

[API](https://skmtc.dev/babelcloud/apis/gbox-open-api.md) · [All operations](https://skmtc.dev/babelcloud/apis/gbox-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/babelcloud/gbox-open-api/revisions/d655577fa915/schema)
