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

flutter blank screen on desktop(windows) #74507

Closed
ezechieldef opened this issue Jan 22, 2021 · 20 comments
Closed

flutter blank screen on desktop(windows) #74507

ezechieldef opened this issue Jan 22, 2021 · 20 comments
Labels
in triage Presently being triaged by the triage team r: timeout Issue is closed due to author not providing the requested details in time

Comments

@ezechieldef
Copy link

ezechieldef commented Jan 22, 2021

Hi, Please I have some issue with my flutter app ,
I get blank screen when I share My flutter application but when I run it on my PC everything work good.
Someone can help me please ?

@iapicca
Copy link
Contributor

iapicca commented Jan 22, 2021

@ezechieldef
can you provide your flutter doctor -v and your flutter run -v

@ezechieldef
Copy link
Author

ezechieldef commented Jan 24, 2021

excuse me for being late ,
flutter doctor -v
forgit
I'm not able to copy text from powershell,
When I install flutter component for desktop development on the PC, that's work.
but without this, that's not work

@ezechieldef
Copy link
Author

he's screenshot
Capture d’écran (1)

@TahaTesser
Copy link
Member

Hi @ezechieldef
Can you please reproduce the blank screen with a new project? flutter create mydemo

If the problem persists, Can you please provide your flutter run -d windows -v logs and minimal complete reproducible code sample?
Thank you

@TahaTesser TahaTesser added in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds labels Jan 25, 2021
@pedromassangocode
Copy link

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

@pedromassangocode pedromassangocode added r: timeout Issue is closed due to author not providing the requested details in time and removed waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds labels Feb 17, 2021
@richard457
Copy link

I am facing the same issue when app is released and share the Release folder to another machine that does not do development

@richard457
Copy link

Note, on the machine that does development the released app work just fine.

@ezechieldef
Copy link
Author

Note, on the machine that does development the released app work just fine.

Hi !
I ended up concluding that it is missing packages, because some dependencies do not fully integrate the project.

I had to copy my folder containing my flutter SDK to the user PC in the same location for it to work.

ie, I copied my C: \ flutter folder to the same address to the second PC

That solve my problems

@richard457
Copy link

I think the flutter team need to address this issue @ezechieldef @iapicca @TahaTesser @pedromassangocode

@richard457
Copy link

Note, on the machine that does development the released app work just fine.

Hi !
I ended up concluding that it is missing packages, because some dependencies do not fully integrate the project.

I had to copy my folder containing my flutter SDK to the user PC in the same location for it to work.

ie, I copied my C: \ flutter folder to the same address to the second PC

That solve my problems

Let me try this workaround.

@iapicca
Copy link
Contributor

iapicca commented May 2, 2021

@richard457
as it is the issue is not workable
please provide the info requested here

@richard457
Copy link

here is a repo to reduce the issue [REPO]https://github.com/yegobox/flutter_windows)

@richard457
Copy link

richard457 commented May 2, 2021

Here is the current status, the build works on the same machine where the build is run, then when I zip the release folder to another machine it does not. @iapicca

@iapicca
Copy link
Contributor

iapicca commented May 2, 2021

@richard457
please provide a minimal reproducible code sample, not a complete app and without 3rd party plugins and packages
together with your flutter doctor -v

@ezechieldef
Copy link
Author

@richard457
as it is the issue is not workable
please provide the info requested here

In my case, I didn't have this problem with a simple Flutter project.

Only by copying the release folder, the application runs normally.

but with some complex project this is no longer the case, raison why I thought that it is mainly about the dependencies add to the project, which do not always integrate the project correctly.

I could be wrong any time

@iapicca
Copy link
Contributor

iapicca commented May 2, 2021

but with some complex project this is no longer the case, raison why I thought that it is mainly about the dependencies add to the project, which do not always integrate the project correctly.

@ezechieldef
if the issue is caused by 3rd party plugins there's nothing flutter team can do to fix the problem
that why it's important to have a minimal reproducible code sample

@richard457
Copy link

Here is a problem, let's say yes it is caused by a third party plugin, but why the build works on the same machine but not to another machine, to me this is inconsistency, and the flutter team should address that or at least show build error instead of passing the build and have the issue when the app is rolled out. @iapicca

@iapicca
Copy link
Contributor

iapicca commented May 2, 2021

@richard457
I think there is some confusion try to address 2 different problems as it were one:

Here is a problem, let's say yes it is caused by a third party plugin, [...]

if that's the case, 100% the issue should NOT be addressed on flutter repo, but on said 3rd party plugin own repo

[...] but why the build works on the same machine but not to another machine, to me this is inconsistency, and the flutter team should address that or at least show build error instead of passing the build and have the issue when the app is rolled out.

this seems a flutter related issue, for it to be workable MUST be reproducible
therefor the information listed below should be provided

please provide a minimal reproducible code sample, [...] without 3rd party plugins and packages
together with your flutter doctor -v

without these there is no reason for the issue to be open

@kakyoism
Copy link

kakyoism commented Jun 6, 2021

I thought I had the same issue with flutter 2.2.1 on Windows 10 with Android studio 4.2.1.

But it turned out to be the fact that the app was super slow to load up under development mode on my machine. Here by "load up" I mean "syncing files to device windows" as you can observe in Android Studio's console.

The default push-button project took quite a few seconds to load up on my Windows, a lot slower than the macOS version.
It helped to speed it up by building the release app first

flutter run --release -d windows

then run it inside Android Studio. This time it would be a lot faster to load up the dev build.

Hope this helps.

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in triage Presently being triaged by the triage team r: timeout Issue is closed due to author not providing the requested details in time
Projects
None yet
Development

No branches or pull requests

6 participants