tmthecoder / dargon2

Argon2 Dart Bindings
https://docs.tmthecoder.dev/dargon2/
MIT License
18 stars 12 forks source link

[dargon2_flutter] FAILURE: Build failed with an exception #6

Closed Meap316 closed 2 years ago

Meap316 commented 2 years ago

Hi, I'm trying to use the package dargon2_flutter. But when I tried to build my project it failed to build. Here's the log when i run the flutter using "flutter run -v".

2022-03-15_15-55

tmthecoder commented 2 years ago

@Meap316 do you have ndk installed on your device? Since dargon2_flutter uses the C library of argon2, ndk is required for the build

Meap316 commented 2 years ago

Thank you, the problem is fixed now.

The problem was the corrupted NDK, I deleted all folder inside my ndk folder which is located on my android SDK folder. Then I try to rebuild the app and it went smoothly.