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

Failed to lookup symbol 'readBarcode': dlsym(RTLD_DEFAULT, readBarcode): symbol not found) #152

Open
jakenoble opened this issue Jul 18, 2024 · 0 comments

Comments

@jakenoble
Copy link

This is about the 5th package I have tried to scan a QR code from a file. All the others fail or fail to build on Android.

This is the closest I have come, but it will not work.

Steps Taken

git clone --recursive https://github.com/khoren93/flutter_zxing.git
flutter pub global activate melos
export PATH="$PATH":"$HOME/.pub-cache/bin"
melos bootstrap
./scripts/update_ios_macos_src.sh

That all runs fine.

Dependancy

I then added the dep;

  flutter_zxing: 
    path: ~/flutter_zxing

Code

Code? data = await zx.readBarcodeImagePath(media, DecodeParams());

Error

ArgumentError (Invalid argument(s): Failed to lookup symbol 'readBarcode': dlsym(RTLD_DEFAULT, readBarcode): symbol not found)
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

1 participant