Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Artifacts download failure #191

Closed
Li-00 opened this issue Jul 14, 2023 · 7 comments
Closed

Artifacts download failure #191

Li-00 opened this issue Jul 14, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@Li-00
Copy link

Li-00 commented Jul 14, 2023

image

image

image
image

image

I can ping github.com but run or build demo Downloading elinux-common tools faild , don's know how to fix

@HidenoriMatsubayashi
Copy link
Collaborator

I guess this is your network environment issue. Are you accessing from China? Can you download https://github.com/sony/flutter-embedded-linux/releases/tag/cdbeda788a manually?

See also #140 (comment)

@HidenoriMatsubayashi HidenoriMatsubayashi changed the title Debian 10 ARM64 run or build error Artifacts download failure Jul 14, 2023
@Li-00
Copy link
Author

Li-00 commented Jul 14, 2023

yes, I'm in china run this demo,and i download release so put in cache path
image

Is there any other possibility? thank you for your answer.

@Li-00
Copy link
Author

Li-00 commented Jul 14, 2023

My computer can access github through the proxy without hindrance, but the embedded device cannot use the proxy, and I tried the flutter-elinux precache --elinux command, and the problem was the same, stuck in Downloading elinux-common tools for a long time...

I am sure that I have downloaded the latest so and put it in the cache, so is there any way to skip this verification download? Is the process complicated

@HidenoriMatsubayashi
Copy link
Collaborator

HidenoriMatsubayashi commented Jul 15, 2023

I created a new PR to add this use case. Please use ELINUX_ENGINE_BASE_LOCAL_DIRECTORY env.

  1. Download all of elinux artifacts from https://github.com/sony/flutter-embedded-linux/releases
  • 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
  1. export ELINUX_ENGINE_BASE_LOCAL_DIRECTORY=<path_to_directory_of_downloaded_artifacts>
  2. run flutter commands

@HidenoriMatsubayashi
Copy link
Collaborator

Closing.

@Li-00
Copy link
Author

Li-00 commented Jul 18, 2023

latest update, can set up the proxy by configuring /etc/profile

First of all
vim /etc/profile
Then, add it to the file
http_proxy=http://ip:port
https_proxy=https://ip:port
export http_proxy
export https_proxy
Finally, refresh the file
source /etc/profile

But when I try to run the project after building the project, it prompts Failed to create view controller, my board is rk3568 Debain10 aarch64, env is FLutter 3.10.5,Flutter-elinux 3.10.5, and I'm following #121 to try to solve it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants