flutter-sound-stream icon indicating copy to clipboard operation
flutter-sound-stream copied to clipboard

cannot build after Flutter upgrade to 3.29

Open biodegradable000 opened this issue 9 months ago • 0 comments

Hey there,

I recently upgraded Flutter and since cannot build my project anymore (at least I believe that was the timeline). The error I get:

e: file:///C:/Users/username/AppData/Local/Pub/Cache/hosted/pub.dev/sound_stream-0.4.1/android/src/main/kotlin/vn/casperpas/sound_stream/SoundStreamPlugin.kt:22:48 Unresolved reference: Registrar

and

 What went wrong: Execution failed for task ':sound_stream:compileDebugKotlin'.
 A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction Compilation error. See log for more details

I had the same problem with the mic_stream package, which I was able to remove entirely. Now I have the problem with sound_stream.

The error seems to be related to this article: https://benamorn.medium.com/today-i-learned-after-upgrading-to-flutter-3-29-0-7c7ab1a97975 I was able to downgrade Flutter to 3.27 for now to keep the app working. Can anybody confirm this?

biodegradable000 avatar Feb 24 '25 19:02 biodegradable000