flutter-samples icon indicating copy to clipboard operation
flutter-samples copied to clipboard

One or more plugins require a higher Android NDK version.

Open sajjad-salam opened this issue 1 year ago • 1 comments

sajjad-salam avatar Oct 14 '23 07:10 sajjad-salam

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 image

After

android { namespace "com.example.yourapp" compileSdkVersion flutter.compileSdkVersion ndkVersion "26.0.7326110"

Image image

amitkumarsingh01 avatar Feb 28 '24 14:02 amitkumarsingh01

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: Screenshot 2024-06-11 at 11 49 10 PM

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!

Aashu-Dubey avatar Jun 11 '24 18:06 Aashu-Dubey