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

LateError (LateInitializationError: Field '_instance@174081202' has not been initialized.) #3

Open
likeablegeek opened this issue Dec 21, 2023 · 1 comment

Comments

@likeablegeek
Copy link

Hi ...

I'm trying to use smart_usb to build a MacOS app. I am trying to follow this example code you provide:

await SmartUsb.init();
// ...
var deviceList = await SmartUsb.getDeviceList();
// ...
await SmartUsb.exit();

However, on the first line (await SmartUsb.init();) I get the following exception thrown:

LateError (LateInitializationError: Field '_instance@174081202' has not been initialized.)

Are there suggestions on how to resolve and/or debug this issue?

@mayuriruparel
Copy link

Did you find solution?

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