Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter Android Build Failed #52

Open
4 tasks done
MuhammadFarooqZahid opened this issue May 10, 2024 · 2 comments
Open
4 tasks done

Flutter Android Build Failed #52

MuhammadFarooqZahid opened this issue May 10, 2024 · 2 comments

Comments

@MuhammadFarooqZahid
Copy link

Checklist

  • I have looked into the Readme and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

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()
}

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

@HammadKhan045
Copy link

hey farooq I am stuck to call back to app can you help me with that I really need some guidance

@MuhammadFarooqZahid
Copy link
Author

MuhammadFarooqZahid commented May 28, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants