Prerequisites to work with the Tire Tread SDK

  1. Unzip (TireDemoApp_v4.x.x.zip) or clone the project

  2. Open the project in your IDE (for Example Android Studio) and select "Trust Project"

  3. Add the "lombok" plugin to your environment, for example the IDE Android studio

  4. De-install the Anyline Tire Tread ShowCase App from your Device

Lombook plugin installation for your IDE

Lombook adds "Get" and "Set" class methods for parameters is not longer necessary.

  1. Download the plugin (lombok-213.7172.25.zip - Dolphin 2021.3.1 Canary 9+, Electric Eel 2022.1.1 Canary 1+) https://github.com/mplushnikov/lombok-intellij-plugin/issues/1111

  2. Open android studio → preferences → plugins → gear wheel → install plugin from disk → select lombok-213.7172.25.zip

  3. Be sure lombok is installed and activated

Basic configuration and relevant settings in the Gradle files

Here are the minimum Android versions for the SDK and the APP. Please use this setting in all Gradle files:

minSdk 28
targetSdk 33

Adding the Tire Tread SDK to the project

  1. Copy the SDK file (sdk-release.aar) to the libs folder (anyline-ttd-android-example-app\libs)

  2. Check setting TireDemoApp_v4.0.7\app\build.gradle it should be implementation(name:'sdk-release', ext:'aar')

  3. Add the following two lines to your build.gradle file

    implementation(name:'sdk-release', ext:'aar')
    implementation('com.squareup.okhttp3:logging-interceptor:4.10.0')

Verifying successful addition of Tire Tread SDK

In your IDE

  1. In your IDE: Select the menu Sync Project with Gradle-Files

  2. In your IDE: Select the menu Run "app"

With Gradle

`.\gradlew[.bat] assemble`