---
title: "Android SDK: Attachments"
description: "Attach files to feedback and customer conversations with the Gleap Android SDK. Follow the integration code examples."
url: https://docs.gleap.ai/en/articles/481-android-sdk-attachments
collection: "Android"
updated: 2026-11-01
language: en
---

# Android SDK: Attachments

Attach files to feedback and customer conversations with the Gleap Android SDK. Follow the integration code examples.

Gleap allows you to attach files to feedback items. This enables you to include application specific information, which Gleap doesn't collect by default.

### Add attachments

Gleap offers the following method to attach files to your feedback items. The attachments won't be removed after sending feedback as many customers requested them to be incremental. If you need to start over fresh after each report, simply use the `removeAllAttachments` method.

```java
Gleap.getInstance().addAttachment(file);
```

-   The file must be of type File (java.io.File).
    

> **Info:** The file size is limited to **1MB** for each file. In addition we limited the maximum files count to **6 files**. These limits make sure that the user doesn't have to transfer too much data while sending feedback.

### Remove attachments

Use the following method to remove all attachments.

```java
Gleap.getInstance().removeAllAttachments();
```

## Related

- [Android SDK setup](https://docs.gleap.ai/en/articles/466-android-sdk-setup.md)
- [Android SDK: User identity](https://docs.gleap.ai/en/articles/467-android-sdk-user-identity.md)
- [Android SDK: Callbacks](https://docs.gleap.ai/en/articles/468-android-sdk-callbacks.md)
- [Android SDK: Frontend tools](https://docs.gleap.ai/en/articles/469-android-sdk-frontend-tools.md)
- [Android SDK: Forms](https://docs.gleap.ai/en/articles/470-android-sdk-forms.md)
