Kanzi 3.9 alpha 3 migration guide¶
Use this migration guide to update Kanzi applications from Kanzi 3.9 alpha 2 to Kanzi 3.9 alpha 3.
Migrating Kanzi applications to use Android Studio 4.1.0 and Gradle 6.5¶
To migrate Kanzi applications to use Android Studio 4.1.0 and Gradle 6.5:
In Android Studio in the
android_gradle/app/build.gradlefile replace:externalNativeBuild { cmake { path "CMakeLists.txt" version "3.6.0+" } }
with
externalNativeBuild { cmake { path "CMakeLists.txt" version "3.6.0" } }
In the
android_gradle/build.gradlefile replace:dependencies { classpath 'com.android.tools.build:gradle:<android-studio-version>' classpath 'com.rightware.gradle:kanzi:<gradle-plugin-version>' }
with
dependencies { classpath 'com.android.tools.build:gradle:4.1.0' classpath 'com.rightware.gradle:kanzi:0.6.1' }
In the
android_gradle/gradle/wrapper/gradle-wrapper.propertiesfile replace:distributionUrl=https\://services.gradle.org/distributions/gradle-<version>-bin.zip
with
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
In the
android_gradle/gradle.propertiesfile replace:org.gradle.jvmargs=-Xmx<size>m
with
org.gradle.jvmargs=-Xmx4608m
To update Gradle in your application, either:
In Android Studio select Gradle > Task > build setup > Wrapper.
On the command line run:
./gradlew wrapper
Changes to Activity functionality¶
Kanzi UI automation plugin¶
Kanzi 3.9 alpha 3 comes with the Kanzi UI automation plugin. To prevent conflicts in Kanzi Studio, delete the C:\ProgramData\Rightware\Kanzi 3.9.0\PreviewPlugins\kzuiautomation directory.
API changes¶
Kanzi 3.9 alpha 2 |
Kanzi 3.9 alpha 3 |
|---|---|
|
|
|
|