la-haus / flutter-segment

Segment.io library for flutter
MIT License
22 stars 140 forks source link

Bug:Build failing when generating release apps #96

Closed samgetbitmoney closed 1 month ago

samgetbitmoney commented 1 month ago

fails to build to build the release app without the package it builds like a charm

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:minifyReleaseWithR8'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.R8Task$R8Runnable
   > Compilation failed to complete, origin: C:\Users\ASUS\OneDrive\Documents\Github\webapp\GetBit-WebApp\build\flutter_segment_sdk\intermediates\runtime_library_classes_jar\release\classes.jar:com/getbitmoney/getbitwebapp/BuildConfig.class

* 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 2m 9s
Running Gradle task 'assembleRelease'...                          130.7s

┌─ Flutter Fix ─────────────────────────────────────────────────────────────────────────────────────┐
│ [!] 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\ASUS\OneDrive\Documents\Github\webapp\GetBit-WebApp\android\build.gradle:                │
│ ext.kotlin_version = '<latest-version>'                                                           │
└───────────────────────────────────────────────────────────────────────────────────────────────────┘
Gradle task assembleRelease failed with exit code 1                                                    │
samgetbitmoney commented 1 month ago

closingg this as this is a flutter releted issue