Closed gOzaru closed 1 year ago
Case closed. The cause is that I forgot to set the targetSdkVersion to 33. Sorry.
Hello, the crash still happens. I don't know what the cause. Please help me
I changed the precached() to setup() and now, it's okay
_controller = BetterPlayerController(betterPlayerConfiguration);
_controller.setControlsEnabled(false);
_controller.setControlsAlwaysVisible(false);
setup(); //precached();
We no need to run precached and setup at the same time. Just run setup() is enough.
History check I have check and done all the solution on same bug, but it still didn't work.
Describe the bug My video is 75MB, this is my whole settings on Example code. It always gives error:
W/om.sim.optik99(16701): Throwing OutOfMemoryError "Failed to allocate a 65552 byte allocation with 17616 free bytes and 17KB until OOM, target footprint 134217728, growth limit 134217728" (VmSize 1719588 kB)
This is the video url
To Reproduce Steps to reproduce the behavior:
*Example code
Expected behavior It should be running well and not crash.
Screenshots Sorry, just crash and exit the app.
Flutter doctor [√] Flutter (Channel stable, 3.10.0, on Microsoft Windows [Version 10.0.22621.1702], locale id-ID) [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 33.0.2) [√] Chrome - develop for the web [X] Visual Studio - develop for Windows X Visual Studio not installed; this is necessary for Windows development. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components [√] Android Studio (version 2021.2) [√] VS Code, 64-bit edition (version 1.78.2) [√] Connected device (4 available) [√] Network resources
Better Player version
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.