westracer / flutter_native_opencv

Using OpenCV natively in C++ in a Flutter app with Dart FFI
https://medium.com/flutter-community/integrating-c-library-in-a-flutter-app-using-dart-ffi-38a15e16bc14
MIT License
213 stars 38 forks source link

No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi #9

Closed arsies closed 2 years ago

arsies commented 2 years ago

i was trying to run it in my android device and this error happened.

Note: /Users/rndtss/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.6/android/src/main/java/io/flutter/plugins/pathprovider/PathProviderPlugin.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 2

FAILURE: Build failed with an exception.

BUILD FAILED in 17s Exception: Gradle task assembleDebug failed with exit code 1

it works on my ios device. Is there any step that i missed for the android ?

westracer commented 2 years ago

Hello. What version of Android NDK do you have installed? Maybe try downgrading it to 20.1.xxxxx version.

arsies commented 2 years ago

Thank you, im using 23.1.xxxx version before. And after downgrading it to 20 version, it works. Thanks