flutter_compass
flutter_compass copied to clipboard
FAILURE: Build failed with an exception
Hello I cannot run my app on release mode.
The build failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetifier to solve the incompatibility.
Building plugin flutter_compass...
Running Gradle task 'assembleAarRelease'...
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\khali\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\flutter_compass-0.7.0\android\build.gradle' line: 22
* What went wrong:
A problem occurred evaluating root project 'flutter_compass'.
> Failed to apply plugin [id 'com.android.internal.version-check']
> Minimum supported Gradle version is 6.5. Current version is 6.1.1. If using the gradle wrapper, try editing the distributionUrl in C:\Users\khali\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\flutter_compass-0.7.0\android\gradle\wrapper\gradle-wrapper.properties to gradle-6.5-all.zip
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
Exception: The plugin flutter_compass could not be built due to the issue above.
> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19043.1263], locale en-DE)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.8.2)
[√] Android Studio (version 4.1.0)
[√] IntelliJ IDEA Community Edition (version 2021.2)
[√] IntelliJ IDEA Ultimate Edition (version 2021.1)
[√] VS Code (version 1.59.1)
[√] Connected device (5 available)
• No issues found!
can you please fix this problem.
Have the same issue.