Android 15 Migration guide

1 - Check major changes

Android offers a clear and exhaustive documentationarrow-up-right listing the new features and changes related to Android 15.

It is necessary to read this documentation before modifying any code in your project.

circle-exclamation

2 - Targeting Android 15 in your project

To make your app fully compatible with Android 15, update the targetSdkVersion and compileSdkVersion to 35 in your project app.

3 - Apply changes

It's now time to update your code once the previous steps are taken into account.

DriveQuant recommends to specifically pay attention about the Edge-to-edge enforcementarrow-up-right which is now enabled by default when your app is targeting Android 15.

circle-info

If your app is not ready to support edge-to-edge, you can disable it by using the windowOptOutEdgeToEdgeEnforcementarrow-up-rightattribute.

4 - Update the DriveKit SDK

After you have checked that your project is working properly and updated the targetSdkVersion and compileSdkVersion, you need to update the DriveKit SDK.

  • DriveKit internal modules that support Android 15 are versions 2.4.0 and above.

  • DriveKit UI modules that support Android 15 are versions 2.4.0 and above.

circle-info

The latest DriveKit versions are listed in the changelog:

5 - Tests πŸš—

The last part is to ensure that the app is working as expected. The best way to do this is to compare your app's behaviour with the DriveQuant's apparrow-up-right and/or the DriveKit Demo Apparrow-up-right; which already support Android 15.

If you experience any problems with DriveKit, please contact usenvelope.

Last updated

Was this helpful?