Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Turskyi opened this issue Dec 14, 2023 · 1 comment
Open

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

Turskyi opened this issue Dec 14, 2023 · 1 comment

Comments

@Turskyi
Copy link

Turskyi commented Dec 14, 2023

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
Copy link
Owner

shirne commented Dec 14, 2023

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants