question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG]: crash on release mode

See original GitHub issue

Flutter Sound Version :

  • FULL

  • Important: Result of the command : flutter pub deps | grep flutter_sound – flutter_sound 7.7.0+1 | |-- flutter… | |-- flutter_sound_platform_interface 7.7.0+1 | | |-- flutter… | | |-- meta… | | '-- plugin_platform_interface… | |-- flutter_sound_web 7.7.0+1 | | |-- flutter… | | |-- flutter_sound_platform_interface… | | |-- flutter_web_plugins… | | |-- js 0.6.2 | | '-- meta…


Severity

Crash in release build, works fine in debug mode


Platforms you faced the error

Android, not yet tested in ios


Describe the bug flutter build apk for release mode, crash when go to screen that used this plugin

To Reproduce flutter build apk for release mode, crash when go to screen that used this plugin


Logs!!!

cant get the log as its only crash in release mode


Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:4
  • Comments:7

github_iconTop GitHub Comments

4reactions
Ethrascommented, Apr 16, 2021

Found a solution here !

https://github.com/tanersener/flutter-ffmpeg/issues/237

If flutter_ffmpeg release builds on Android fail with the following exception, make sure that mavenCentral() is defined as a repository in your build.gradle and it is listed before jcenter().

3reactions
rqmokcommented, Apr 19, 2021

Found a solution here !

tanersener/flutter-ffmpeg#237

If flutter_ffmpeg release builds on Android fail with the following exception, make sure that mavenCentral() is defined as a repository in your build.gradle and it is listed before jcenter().

Thanks. Can confirm this solved the issue for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

App crashes in Release build but not in debug - Stack Overflow
There are many reasons that an app might crash in release mode but not in debug mode (e.g. memory allocation differences showing up...
Read more >
app crashes at launch as release b… | Apple Developer Forums
I have imported ios-charts in my Objective-C project, and running it in debug mode is fine. However, today I tried to archive and...
Read more >
Application crashing in debug but running fine in Release mode
I observed that whenver any CString member is tried to set to the application object (using AfxGetApp()), it crashes in debug mode. It...
Read more >
net maui blazor android app crash when release mode
For now we have a bug for run maui blazor android app, but I'm not sure if it match yours. Could you take...
Read more >
C++ application crashes in release mode - CodeProject
The fact that it works in Debug mode doesn't really prove that your code is error free, especially when dealing with allocating and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found