Gradle issue during compile android application - auth0 implementation

I try to implement auth0 to my android application (flutter / dart), however when I try to do it everytime I have an error about gradle version. When I have 8.3 then error is about update to 8.- when I have 8.5 then it’s about 8.7 → 8.9 etc… I have correct version according to Compatibility Matrix

*SDK: 20 *Gradle: 8.3 *Kotlin: 1.9.0 *Android Studio: Ladybug *Android SDK (Android studio): ANdroid 15.0 VanillaIceCream - API 35 *SDK tools: Android SDK build-tools 36-rc4, Android SDK COmmand-line tools, Android *Emulator, Android emulator hypervisor driver and Android SDK Platform- Tools *IDE: Visual Studio Code

I tried also use SDK 21, Gradle 8.5 and Kotlin 1.9.20 - unfortuantely without results. I downloaded sample application from auth0 apge and some projects from github - can’t run no one of them (I mean about emulator because run from chrome works correctly).

I created few new projects, downloaded sample app from auth0 and some projects from github

I also tried to follow Deprecated imperative apply of Flutter's Gradle plugins | Flutter

Of course I used flutter clean, pub get, ./gradlew clean build

I would appreciate any support from your side. Please also remember that I am new in the world (android, kotlin, gradle, flutter and dart :slight_smile:

Github with gradle files, error jpgs etc: GitHub - kadzielas/issues: The repository is to share my issues with people on forums

Hi @kadzielas

Welcome to the Auth0 Community!

Regarding the issue that you are facing, it appears to be something caused by your environment since no applications are able to run due to the discrepancy of the versions detected.

I will look further into the matter, however, I would advise you to reinstall any libraries that you might be using for your environment to see if the error still persists after that.
Alternatively, you can reinstall any libraries that you are using one by one to see if any of them specifically were causing the issue.

Let me know if you have any further questions or if the issue got resolved.

Kind Regards,
Nik