flutter-samples
flutter-samples copied to clipboard
One or more plugins require a higher Android NDK version.
Go to \yourapp\android\app\build.gradle: and change your file as
Before
android { namespace "com.example.yourapp" compileSdkVersion flutter.compileSdkVersion ndkVersion flutter.ndkVersion
Image
After
android { namespace "com.example.yourapp" compileSdkVersion flutter.compileSdkVersion ndkVersion "26.0.7326110"
Image
Hi, I know it's been a while since this issue was created, but as explained by @itheaks the error can fixed by specifying the particular higher required NDK version in app\build.gradle
file.
Which is also mentioned in the error log:
Plus the project is also upgraded to the latest v3.22.2, which might fix some other compatibility issues as well, so I'll be closing the issue now!