jhomlala / catcher

Flutter error catching & handling plugin. Handles and reports exceptions in your app!
Apache License 2.0
787 stars 177 forks source link

[BUG] Cmake error when running flutter in desktop mode on linux. #180

Closed jordan-lumley closed 3 years ago

jordan-lumley commented 3 years ago

Describe the bug Hi there,

First time user of this library but after adding catcher as a dependency for my project, I am getting an error about the source directory not containing the CMakeLists.txt file.

To Reproduce Steps to reproduce the behavior:

  1. Added catcher as a dep.
  2. Copied example into my main.dart project
  3. Tried to run the project

Expected behavior The project to run.

Screenshots image

Flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 2.2.1, on Linux, locale en_US.UTF-8) [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3) [✓] Chrome - develop for the web [✓] Linux toolchain - develop for Linux desktop [✓] Android Studio (version 4.1) [✓] Android Studio (version 4.2) [✓] VS Code (version 1.56.2) [✓] Connected device (2 available)

• No issues found!

Catcher version

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

jhomlala commented 3 years ago

Added missing CMakeLists.txt for linux in 0.6.7.