Android Flutter (Too many open files) error when using rive.Factory.rive
In my Flutter app, I’m using rive_native package, leaving a page with an active Rive animation running for an extended period eventually crashes the app with “Too many open files” due to a steadily increasing file-descriptor count. The issue occurs only with rive.Factory.rive, while using rive.Factory.flutter keeps file descriptors stable. Because the animation relies on feathering, I must use the Rive Renderer. Is there a known fix or workaround to prevent the FD growth while using rive.Factory.rive
E/Parcel (11730): fcntl(F_DUPFD_CLOEXEC) failed in Parcel::read, i is 0, fds[i] is -1, fd_count is 1, error: Too many open files