Closed kherldhussein closed 3 years ago
Running on Ubuntu 20.04 LTS
I have the same issue (ubuntu 20.04 LTS), flutter run -d linux
works perfectly, but snapcraft fails with the following log:
If I run the same command with debug option, I can see that the only subfolder of root/parts/bug/build/build/linux is x64, and then inside we have /release/bundle
Hi, so sorry for the late reply here!
This has since been fixed in the snapcraft flutter extension but is not yet in stable. In order to get this working today you'll need to use the version of snapcraft from candidate:
snap refresh snapcraft --candidate
'/root/parts/{app_name}/build/build/linux/release/bundle' is not a directory
`Launching a VM. The flutter plugin is currently in beta, its API may break. Use at your own risk. snapd is not logged in, snap install commands will use sudo snap "core18" has no updates available Skipping pull flutter-extension (already ran) Skipping pull gnome-3-28-extension (already ran) Skipping pull quran-hadith (already ran) Skipping build flutter-extension (already ran) Skipping build gnome-3-28-extension (already ran) Building quran-hadith
build/linux/x64/release' [+115811 ms] [1/8] Generating /root/parts/quran-hadith/build/linux/flutter/ephemeral/libflutter_linux_gtk.so, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_engine.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_method_call.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_method_response.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_value.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/fl_view.h, /root/parts/quran-hadith/build/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_ [ +4 ms] Woah! You appear to be trying to run flutter as root. [ ] We strongly recommend running the flutter tool without superuser privileges. [ ] / [ +11 ms] π [ +4 ms] [ +169 ms] executing: uname -m [ ] [ +81 ms] Exit code 0 from: uname -m [ ] [ +1 ms] x86_64 [ ] [ +37 ms] executing: [/root/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ +11 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ ] f49956598b2a44cedcb70bd8c4b6b7ef5dc54d43 [ ] [ +2 ms] executing: [/root/snap/flutter/common/flutter/] git tag --points-at f49956598b2a44cedcb70bd8c4b6b7ef5dc54d43 [ +1 ms] [ +29 ms] Exit code 0 from: git tag --points-at f49956598b2a44cedcb70bd8c4b6b7ef5dc54d43 [ ] [ +4 ms] executing: [/root/snap/flutter/common/flutter/] git describe --match *.*.* --long --tags f49956598b2a44cedcb70bd8c4b6b7ef5dc54d43 [ +1 ms] [ +51 ms] Exit code 0 from: git describe --match *.*.* --long --tags f49956598b2a44cedcb70bd8c4b6b7ef5dc54d43 [ ] [ ] 1.27.0-1.0.pre-103-gf49956598b [ ] [ +113 ms] executing: [/root/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ ] [ +8 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] [ ] origin/master [ ] [ ] executing: [/root/snap/flutter/common/flutter/] git ls-remote --get-url origin [ ] [ +12 ms] Exit code 0 from: git ls-remote --get-url origin [ ] [ ] https://github.com/flutter/flutter.git [ ] [ +101 ms] Unable to locate an Android SDK. [ ] [ +15 ms] executing: [/root/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD [ ] [ +20 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] [ ] master [ ] [ +139 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ +6 ms] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] [ +185 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +1 ms] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ +3 ms] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ +8 ms] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update. [ ] [ +239 ms] Initializing file store [ ] [ +66 ms] Skipping target: gen_localizations [ ] [ +15 ms] unpack_linux: Starting due to {} [ ] [+4253 ms] kernel_snapshot: Starting due to {} [ ] [ +8 ms] unpack_linux: Complete [ +2 ms] [+1729 ms] /root/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /root/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /root/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/ --target=flutter --no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=true --aot --tfa --packages /root/parts/quran-hadith/build/.dart_tool/package_config.json --output-dill /root/parts/quran-hadith/build/.dart_tool/flutter_build/29fdc5f8f675b5064012cb0c8f96b9a5/app.dill --depfile /root/parts/quran-hadith/build/.dart_tool/flutter_build/29fdc5f8f675b5064012cb0c8f96b9a5/kernel_snapshot.d package:quran_hadith/main.dart [ +10 ms] [+71018 ms] kernel_snapshot: Complete [ ] [ +943 ms] aot_elf_release: Starting due to {InvalidatedReason.inputChanged} [ +1 ms] [ +11 ms] executing: /root/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64-release/gen_snapshot --deterministic --snapshot_kind=app-aot-elf --elf=/root/parts/quran-hadith/build/.dart_tool/flutter_build/29fdc5f8f675b5064012cb0c8f96b9a5/app.so --strip /root/parts/quran-hadith/build/.dart_tool/flutter_build/29fdc5f8f675b5064012cb0c8f96b9a5/app.dill [ +2 ms] [+28079 ms] aot_elf_release: Complete [ +10 ms] [ +116 ms] linux_aot_bundle: Starting due to {InvalidatedReason.inputChanged} [ ] [ +18 ms] linux_aot_bundle: Complete [ ] [ +101 ms] release_bundle_linux-x64_assets: Starting due to {} [ ] [+1347 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466. [ ] [ +567 ms] release_bundle_linux-x64_assets: Complete [ ] [ +376 ms] Persisting file store [ ] [ +34 ms] Done persisting file store [ ] [+1293 ms] build succeeded. [ ] [ +34 ms] "flutter assemble" took 110,474ms. [ ] [ +263 ms] ensureAnalyticsSent: 253ms [ ] [ +7 ms] Running shutdown hooks [ ] [ +1 ms] Shutdown hooks complete [ ] [ +1 ms] exiting with code 0 [+4947 ms] [2/8] Building CXX object CMakeFiles/quran_hadith.dir/flutter/generated_plugin_registrant.cc.o [ +9 ms] [3/8] Building CXX object CMakeFiles/quran_hadith.dir/main.cc.o [ +35 ms] [4/8] Building CXX object CMakeFiles/quran_hadith.dir/my_application.cc.o [+1204 ms] [5/8] Building CXX object plugins/url_launcher_linux/CMakeFiles/url_launcher_linux_plugin.dir/url_launcher_plugin.cc.o [ +545 ms] [6/8] Linking CXX shared library plugins/url_launcher_linux/liburl_launcher_linux_plugin.so [ +766 ms] [7/8] Linking CXX executable intermediates_do_not_run/quran_hadith [ ] [7/8] Install the project... [ +278 ms] -- Install configuration: "Release" [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/quran_hadith [ ] -- Set runtime path of "/root/parts/quran-hadith/build/build/linux/x64/release/bundle/quran_hadith" to "$ORIGIN/lib" [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/icudtl.dat [ +2 ms] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/lib/libflutter_linux_gtk.so [ +137 ms] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/lib/liburl_launcher_linux_plugin.so [ +1 ms] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/FontManifest.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_33.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_66.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_71.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_64.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_65.json [ +1 ms] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_57.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_89.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/images [ +1 ms] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/images/logo.png~ [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/images/logo.png [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/images/logo.png.kra [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/images/frame.png [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_63.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_21.json [ +7 ms] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_62.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_75.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_56.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_15.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_20.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_4.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_53.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_7.json [ +2 ms] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_34.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_48.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_83.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_1.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_38.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_88.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_18.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_104.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_91.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_77.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_23.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_108.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_41.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_103.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_46.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_52.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_51.json [ +3 ms] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_79.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_35.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_93.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_32.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_72.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_106.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_99.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_102.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_10.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_17.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_25.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_109.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_92.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_39.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_94.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_70.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_107.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_97.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_105.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_3.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_54.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_12.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_73.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_96.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_87.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_37.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_24.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_19.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_50.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_16.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_44.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_14.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_101.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_45.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_49.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_58.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_69.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_42.json [ +4 ms] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_84.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_60.json [ +1 ms] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_36.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_27.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_22.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_76.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_86.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_74.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_11.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/fonts [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/fonts/ar-Quran1.ttf [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/fonts/Quattrocento-Bold.ttf [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/fonts/Philosopher-Bold.ttf [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/fonts/Philosopher-Regular.ttf [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/fonts/ReemKufi-Regular.ttf [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/fonts/Amiri-Regular.ttf [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/fonts/Quattrocento-Regular.ttf [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/fonts/Philosopher-Italic.ttf [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/fonts/Amiri-Bold.ttf [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/fonts/uthman_tn09.otf [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/fonts/Philosopher-BoldItalic.ttf [ +1 ms] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_40.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_98.json [ +1 ms] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_5.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_55.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_78.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_114.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_26.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_85.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_30.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_82.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_59.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_90.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_61.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_13.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_29.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_8.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_100.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_9.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_43.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_6.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_81.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_47.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_95.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_67.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_112.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_31.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_110.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_113.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_68.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_80.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_28.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_111.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/assets/surah_2.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/version.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/packages [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/packages/cupertino_icons [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/packages/cupertino_icons/assets [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf [ +2 ms] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/packages/font_awesome_flutter [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/packages/font_awesome_flutter/lib [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/packages/font_awesome_flutter/lib/fonts [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/packages/font_awesome_flutter/lib/fonts/fa-solid-900.ttf [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/packages/font_awesome_flutter/lib/fonts/fa-brands-400.ttf [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/packages/font_awesome_flutter/lib/fonts/fa-regular-400.ttf [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/kernel_blob.bin [+2006 ms] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/AssetManifest.json [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/fonts [ ] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/fonts/MaterialIcons-Regular.otf [ +1 ms] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/data/flutter_assets/NOTICES [ +2 ms] -- Installing: /root/parts/quran-hadith/build/build/linux/x64/release/bundle/lib/libapp.so [ +50 ms] Building Linux application... (completed in 130.8s) [ +3 ms] "flutter linux" took 133,549ms. [ +260 ms] ensureAnalyticsSent: 252ms [ +7 ms] Running shutdown hooks [ +2 ms] Shutdown hooks complete [ +2 ms] exiting with code 0 '/root/parts/quran-hadith/build/build/linux/release/bundle' is not a directory Run the same command again with --debug to shell into the environment if you wish to introspect this failure.
Run into this error the many times I've been runnung command ~:
snapcraft
on my project directory