diff --git a/packages/opencv_core/android/build.gradle b/packages/opencv_core/android/build.gradle index 8e781707..c5d07b63 100644 --- a/packages/opencv_core/android/build.gradle +++ b/packages/opencv_core/android/build.gradle @@ -39,7 +39,8 @@ android { // declared in /android/app/build.gradle file of the Flutter project. // Replace it with a version number if this plugin requires a specific NDK version. // (e.g. ndkVersion "23.1.7779620") - ndkVersion = android.ndkVersion + // ndkVersion = android.ndkVersion + ndkVersion = "23.1.7779620" // Invoke the shared CMake build with the Android Gradle Plugin. externalNativeBuild { diff --git a/packages/opencv_dart/android/build.gradle b/packages/opencv_dart/android/build.gradle index bd2e5791..f1cfc372 100644 --- a/packages/opencv_dart/android/build.gradle +++ b/packages/opencv_dart/android/build.gradle @@ -36,7 +36,8 @@ android { // Use the NDK version declared in /android/app/build.gradle file of the Flutter project. // Replace it with a version number if this plugin requires a specific NDK version. // (e.g. ndkVersion "23.1.7779620") - ndkVersion android.ndkVersion + // ndkVersion = android.ndkVersion + ndkVersion = "23.1.7779620" // Invoke the shared CMake build with the Android Gradle Plugin. externalNativeBuild {