Closed Thangtran1100 closed 9 months ago
Hi @Thangtran1100 the example is very old ,here some tips to support latest flutter verion
1- in the app/build.gradle update the minSdkVersion to be 21
2- in the app/build.gradle update the telematics sdk from 2.2.2.31 to 2.2.257
dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation "com.telematicssdk:tracking:2.2.257" }
3- in the mainfest file add android:exported="true"
inside the activity tag
<activity android:name=".MainActivity" android:exported="true"
4- in the android/gradle/wrapper/gradle-wrapper.properties upgrade the gradle version to
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
5- in the adroid/build.gradle update kotlin version to 1.8.10 and gradle version to 7.2.0
Thank you so much!!!
Hi,
When I try to build the example app, I encountered an error that ext.kotlin_version need to be 1.5.20 or higher while it version is 1.4.31.