Where should I look first when my Flutter build fails?
Start with these docs:- Flutter runtime troubleshooting
- Rive Native troubleshooting
- Building
rive_native - Flutter migration guide
rive_native setup CLI for your target platform:
<platform> with the platform you are building for (for example, android or macos).
You can also provide multiple platforms as a comma-separated list (for example, android,ios,macos).
If you still see setup errors, follow Rive Native troubleshooting. For Android-specific setup issues, see the Android notes.
LateInitializationError: Field 'makeFlutterFactory' has not been initialized
If you see an error like LateInitializationError: Field 'makeFlutterFactory' has not been initialized, make sure you initialize Rive before showing any Rive widgets.
Call await RiveNative.init() early (for example in main()), before creating or using Factory.flutter/Factory.rive.
How to enable 16KB page support on Android?
Rive Flutter0.14.x includes 16KB page support by default.
If you’re on 0.13.x, you need to specify the NDK version used by setting rive.ndk.version=28.1.13356709 in your gradle.properties file.
This gives you 16KB page support and flexibility to control the NDK used for future updates.
For additional context, see rive-flutter issue #479.