Skip to content

[Desktop - Linux(Deepin)] Unable to run flutter desktop application | assertion 'G_VALUE_HOLDS_BOXED (value)' failed #72987

@chamin96

Description

@chamin96

Error!

I was trying to follow this tutorial in Google Codelabs.

Environment setup was successful and and the following error pops up when trying to flutter run.

$ flutter run
Launching lib/main.dart on Linux in debug mode...
Building Linux application...                                           

(github_graphql_client:18973): GLib-GObject-CRITICAL **: 10:18:52.381: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed
Error waiting for a debug connection: The log reader stopped unexpectedly.
Error launching application on Linux.

Console Logs:

$ flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, 1.26.0-1.0.pre, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] VS Code (version 1.52.1)
[✓] Connected device (1 available)

! Doctor found issues in 1 category.

$ flutter devices

1 connected device:

Linux (desktop) • linux • linux-x64 • Linux

System Info

OS: Deepin 20
Kernel: Linux
Kernel Version: 5.4.70-amd64-desktop

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: desktopRunning on desktopc: fatal crashCrashes that terminate the processplatform-linuxBuilding on or for Linux specificallytoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions