Kanzi 3.6.15 migration guide

Use this migration guide to update Kanzi applications from Kanzi 3.6.14 to 3.6.15.

Migrating Kanzi applications to use Android Studio 4.1.3 and Kanzi Gradle plugin 0.6.2

To migrate Kanzi applications to use Android Studio 4.1.3 and Kanzi Gradle plugin 0.6.2, in the android_gradle/build.gradle file replace:

dependencies {
    classpath 'com.android.tools.build:gradle:<android-studio-version>'
    classpath 'com.rightware.gradle:kanzi:<Kanzi-gradle-plugin-version>'
}

with

dependencies {
    classpath 'com.android.tools.build:gradle:4.1.3'
    classpath 'com.rightware.gradle:kanzi:0.6.2'
}

Profiling changes

You must migrate your application only if you are using the Profiling build. If you use profiling and have created your own profiling using the Kanzi Engine API, you must migrate the profiling tools that you created.

After you migrate your application, your application returns different profiling values.

Introduced these changes to the profiling functionality:

  • To close the gaps in the profiling data when a device adjusts the system clock at startup, Kanzi now uses steady_clock instead of high_resolution_clock.

  • To store resource profiling samples, Kanzi now uses vector instead of map.

See also

Kanzi 3.6.15 release notes

Known issues