> For the complete documentation index, see [llms.txt](https://docs.idlayr.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.idlayr.com/changelog/readme/2026-06-29-android-sdk-2-4-0.md).

# Android SDK v2.4.0 (2026-06-29)

{% hint style="info" %}
**SDKs** · Android · 2026-06-29
{% endhint %}

A Kotlin compatibility release. The SDK is now compiled on the Kotlin 1.9 line so the published AAR carries Kotlin 1.9 metadata (`mv=[1,9,0]`) and can be consumed by apps that are not yet on Kotlin 2.x.

## What changed

* The SDK is now compiled on **Kotlin 1.9.25** (previously 2.2.20 across the 2.3.x line).
* The published AAR is consumable by apps on **Kotlin 1.9.x or any 2.x**.
* **No public API changes** versus 2.3.6 — this release is functionally equivalent to the 2.3.x line.

## Which version should I use?

| Your app's Kotlin version | Recommended SDK            |
| ------------------------- | -------------------------- |
| Kotlin 1.9.x              | **2.4.0**                  |
| Kotlin 2.x                | 2.3.6 or 2.4.0 (both work) |

Teams already on 2.3.6 with a Kotlin 2.x consuming app do not need to upgrade. 2.4.0 is intended for teams that cannot move their app to Kotlin 2.2.x.

## Dependencies

* Kotlin: **1.9.25**
* Kotlin stdlib pinned via `resolutionStrategy` to prevent transitive bumps back to 2.x
* `androidx.core:core-ktx`: 1.13.1
* Test tooling aligned to the 1.9 line: `mockk` 1.13.13, `kotlinx-coroutines-test` 1.8.1, `kotlin-test` 1.9.25

Target and Compile SDK, Java version, and all other public-facing dependencies are unchanged from 2.3.6.

For more information on the Android SDK, see [Android SDK](https://docs.idlayr.com/get-started/sdks/android).


---

# 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.idlayr.com/changelog/readme/2026-06-29-android-sdk-2-4-0.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.
