woodemi / quick_blue

A cross-platform (Android/iOS/macOS/Windows/Linux) BluetoothLE plugin for Flutter
136 stars 71 forks source link

If something else on the computer is using BTLE, quick_blue throws EXCEPTION_ACCESS_VIOLATION_READ #118

Open azimuthdeveloper opened 2 years ago

azimuthdeveloper commented 2 years ago

I had another console app using BTLE, and my app kept crashing. Once I closed the other app, my flutter app with quick_blue worked as intended.

Here's a detailed stack trace: https://sentry.io/share/issue/16dbbf56eca2416e895943b7f7028c56/

Platform: Windows 11

Flutter doctor output:

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.0.1, on Microsoft Windows [Version 10.0.22000.675], locale en-AU)
[!] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Enterprise 2022 17.2.2)
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.68.0)
[√] Connected device (3 available)
[√] HTTP Host Availability
Sunbreak commented 2 years ago

Platform? Flutter Doctor? What BLE app? Any further info?

azimuthdeveloper commented 2 years ago

@Sunbreak , sorry just updated the original issue to include those details. It's for an app I'm developing that uses BLE on Windows.

Sunbreak commented 2 years ago

I had another console app using BTLE

Could you share info or code?