Flutter Issue - Your project is configured with Android NDK 23.1.7779620
· One min read
Your project is configured with Android NDK 23.1.7779620, but the following plugin(s) depend on a different Android NDK version:
- path_provider_android requires Android NDK 25.1.8937393
- shared_preferences_android requires Android NDK 25.1.8937393
- other plugin
Fix this issue by using the highest Android NDK version (they are backward compatible).
Update your ndkVersion like this:
android/app/build.gradle
android {
namespace = "com.example.flutter_tutor_test"
compileSdk = flutter.compileSdkVersion
// ndkVersion = flutter.ndkVersion
ndkVersion = "25.1.8937393"
...
}