---
title: "Migrate from sentry-android 2.x to 3.x"
description: "Learn about migrating from Sentry Android SDK 2.x to 3.x."
url: https://docs.sentry.io/platforms/android/migration/v2-to-v3/
---

# Migrate from sentry-android 2.x to 3.x | Sentry for Android

## [Package Changes](https://docs.sentry.io/platforms/android/migration/v2-to-v3.md#package-changes)

The package `io.sentry.core` has been renamed to `io.sentry`. To compile correctly, replace the strings on all the usages from `io.sentry.core.` to `io.sentry.`

Other than that, the APIs didn't change. Release Heath sets by default. If you prefer not to track the health of your releases, disable it with:

```xml
<application>
  <meta-data
    android:name="io.sentry.session-tracking.enable"
    android:value="false"
  />
</application>
```
