Android 15 Migration guide

1 - Check major changes

Android offers a clear and exhaustive documentation listing the new features and changes related to Android 15.

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

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 enforcement which is now enabled by default when your app is targeting Android 15.

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

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.

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 app and/or the DriveKit Demo App; which already support Android 15.

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

Last updated

Was this helpful?