shirne / zxing-dart

zxing-dart is a Dart port of zxing.
Apache License 2.0
54 stars 10 forks source link

Example project fails to build with NDK not installed error #7

Open Turskyi opened 8 months ago

Turskyi commented 8 months ago

Describe the bug I tried to run the example project from the zxing_lib package (this https://github.com/shirne/zxing-dart/tree/master/example repository), but I got an error saying that NDK is not installed, even though I have installed it from the SDK Manager.

To Reproduce Steps to reproduce the behaviour:

  1. Clone the https://github.com/shirne/zxing-dart repository.
  2. Open the example folder in Android Studio
  3. Run the app on a Pixel 6 device in debug mode
  4. See the error message in the console

Expected behaviour I expected the app to build and run successfully, and to be able to scan barcodes using the camera.

Screenshots Screenshot to help explain your problem:

error

Desktop: OS: macOS Sonoma Chip: Apple M2 Max

Smartphone: Device: Pixel 6 Android version: 14

Additional context I was able to run other example projects from different packages, such as google_ml_kit, without any issues.

shirne commented 8 months ago

image image