llfbandit / record

Audio recorder from microphone to a given file path. No external dependencies, MediaRecorder is used for Android an AVAudioRecorder for iOS.
https://pub.dev/packages/record
243 stars 204 forks source link

Build error: Execution failed for task ':app:mergeLibDexDebug'. #338

Closed MRtootisabz closed 5 months ago

MRtootisabz commented 5 months ago

Package version

Environment

Describe the bug

when running flutter project during build this error comes: project\build\record_android\intermediates\runtime_library_classes_dir\debug\com\llfbandit\record\record\format\Format.class: D8: com.android.tools.r8.internal.Hc: Sealed classes are not supported as program classes Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

Steps to reproduce the behavior:

  1. record flutter package 5.1.1 or 5.0.1

Expected behavior

flutter run fails during build

llfbandit commented 5 months ago

Duplicate #333