Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ndkVersion = "25.1.8937393" #418

Closed
Pawankant87 opened this issue Aug 30, 2024 · 3 comments
Closed

ndkVersion = "25.1.8937393" #418

Pawankant87 opened this issue Aug 30, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Pawankant87
Copy link

Pawankant87 commented Aug 30, 2024

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

  • rive_common requires Android NDK 25.1.8937393
    Fix this issue by using the highest Android NDK version (they are backward compatible).
    Add the following to C:\Users\mindp\StudioProjects\dfms\android\app\build.gradle:

    android {
    ndkVersion = "25.1.8937393"
    ...
    }

@Pawankant87 Pawankant87 added the bug Something isn't working label Aug 30, 2024
@Tudolla
Copy link

Tudolla commented Sep 4, 2024

i do the same problem . Did you fix this?

@HayesGordon
Copy link
Contributor

HayesGordon commented Sep 4, 2024

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 #398.

Edit: Link to setting the NDK version in Gradle

@abdullah10182
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants