Skip to content

Use local elinux artifacts without downloading from GitHub

Hidenori Matsubayashi edited this page Aug 14, 2023 · 7 revisions

Normally, this setting is not necessary!

Use alternative server for elinux engine artifacts

If you need to use your own artifact server instead of GitHub (pre-built images in flutter-embedded-linux repo), please use ELINUX_ENGINE_BASE_URL env. The default URL is https://github.com/sony/flutter-embedded-linux/releases, but you can override it by using this environment var.

Use local artifact files on Host PC

This is basically for developer in China. If you have a network connection issue when you download the artifacts, please try the following alternative way. See also https://github.com/sony/flutter-elinux/issues/191.

Download the corresponding artifacts

Downlaod the corresponding version artifacts from https://github.com/sony/flutter-embedded-linux/releases manually.

  • elinux-common.zip
  • elinux-arm64-debug.zip
  • elinux-arm64-profile.zip
  • elinux-arm64-release.zip
  • elinux-x64-debug.zip
  • elinux-x64-profile.zip
  • elinux-x64-release.zip

Set ELINUX_ENGINE_BASE_LOCAL_DIRECTORY

export ELINUX_ENGINE_BASE_LOCAL_DIRECTORY=<path_to_directory_of_downloaded_artifacts>

Run flutter commands