Help needed: build snap with gnome extension

I’m trying to help one of my daily used flutter app move to core 22.

Since the flutter extension only support core 18, so as suggest in doc, I’m using gnome extension, and the snapcraft.yaml file are like this:

while building the snap with github action, I encounter the following error:

:: [  +54 ms] CMake Error in flutter/ephemeral/.plugin_symlinks/tray_manager/linux/CMakeLists.txt:
:: [   +1 ms]   Imported target "PkgConfig::APPINDICATOR" includes non-existent path
:: [        ]     "/build/gnome-42-2204-sdk/stage/usr/include/libdbusmenu-glib-0.4"
:: [        ]   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
:: [        ]   * The path was deleted, renamed, or moved to another location.
:: [        ]   * An install or uninstall procedure did not complete successfully.
:: [        ]   * The installation package was faulty and references files it does not
:: [        ]   provide.
:: [  +22 ms] -- Generating done
:: [        ] CMake Generate step failed.  Build files cannot be regenerated correctly.
:: [  +27 ms] Building Linux application... (completed in 3.2s)
:: [   +1 ms] "flutter linux" took 3,831ms.
:: [   +2 ms] Unable to generate build files

Seems some packages are missing in gnome extension, and can’t fixed by adding libdbusmenu-glib-dev to build-packages.

How could I fix this problem?

Any one can help? or anywhere I might get help?