rive-app / rive-flutter

Flutter runtime for Rive
https://rive.app
MIT License
1.22k stars 193 forks source link

ndkVersion = "25.1.8937393" #418

Closed Pawankant87 closed 2 months ago

Pawankant87 commented 2 months ago

Your project is configured with Android NDK 23.1.7779620, but the following plugin(s) depend on a different Android NDK version:

Tudolla commented 2 months ago

i do the same problem . Did you fix this?

HayesGordon commented 2 months ago

Rive requires later NDK versions to compile the native code Rive uses. You can compile with a previous version but it will result in a large APK size. Setting a higher NDK is backwards compatible, as the error message above says.

But if you want you can also override the Android NDK version Rive requires by setting rive.ndk.version in gradle.properties. For example: rive.ndk.version=26.3.11579264. This will get rid of the warning, but we recommend using at least "25.1.8937393." - See https://github.com/rive-app/rive-flutter/issues/398.

Edit: Link to setting the NDK version in Gradle

abdullah10182 commented 1 month ago

The proposed solution does not work on a default flutter app.