You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm doing auth0 in Flutter using the auth0_flutter package after following the readme and proper configuration(android) I got a build error that says: e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
[!] Your project requires a newer version of the Kotlin Gradle plugin. │ │ Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then │ │ update C:\Users\Farooq Zahid\auth0\android\build.gradle: │ │ ext.kotlin_version = '<latest-version>'
after finding the solution on the internet i reached to the point the i need to change the Kotlin version inside the android level build.gradle file inside the build block although that block was not present there and i added manually
`buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
// Add any necessary dependencies here
}
ext.kotlin_version = '1.7.1'
}
`
I have played with different version of the Kotlin but still getting the same error,
Reproduction
1
Additional context
No response
Platform
Android
Platform version(s)
No response
The text was updated successfully, but these errors were encountered:
I faced this same problem and changing the ext.kotlin_version didn't solved the issue. However the solution was to go to the file android/settings.gradle and change the kotlin version into the plugins session:
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.0" apply false
id "org.jetbrains.kotlin.android" version "1.9.0" apply false/// <--- Was 1.7.1
}
Checklist
Description
I'm doing auth0 in Flutter using the auth0_flutter package after following the readme and proper configuration(android) I got a build error that says:
e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
[!] Your project requires a newer version of the Kotlin Gradle plugin. │ │ Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then │ │ update C:\Users\Farooq Zahid\auth0\android\build.gradle: │ │ ext.kotlin_version = '<latest-version>'
after finding the solution on the internet i reached to the point the i need to change the Kotlin version inside the android level build.gradle file inside the build block although that block was not present there and i added manually
`buildscript {
repositories {
google()
mavenCentral()
}
}
`
I have played with different version of the Kotlin but still getting the same error,
Reproduction
1
Additional context
No response
Platform
Android
Platform version(s)
No response
The text was updated successfully, but these errors were encountered: