How to fix black screen in Desktop embedding for macOS?Dart SDK is not configuredFlutter camera plugin not importing/useableHow can I show Flutter app if json data null or json link is deadException whilst trying to display an image in flutterNot able to run flutter app on iOS SimulatorMediaQuery.of() error when trying to set Background Image in FlutterScrollcontroller in flutter error Exception has occurredException Caught by widgets libraryMy app is not building debug console says Could not build the application for the simulatorExecution failed for task ':app:transformClassesWithMultidexlistForDebug'. while using image_picker_saver: ^0.1.0 plugin in flutter
What's the Difference between Two Single-Quotes and One Double-Quote?
Should breaking down something like a door be adjudicated as an attempt to beat its AC and HP, or as an ability check against a set DC?
Why doesn't the Earth's acceleration towards the Moon accumulate to push the Earth off its orbit?
When do characters level up?
Placing bypass capacitors after VCC reaches the IC
Why are C64 games inconsistent with which joystick port they use?
I unknowingly submitted plagiarised work
Can't remember the name of this game
Is it possible to play as a necromancer skeleton?
Is there a down side to setting the sampling time of a SAR ADC as long as possible?
Integrating an absolute function using Mathematica
In general, would I need to season a meat when making a sauce?
Why colon to denote that a value belongs to a type?
What does the view outside my ship traveling at light speed look like?
Is this resistor leaking? If so, is it a concern?
Show differential operator is not bounded using definition of bounded operators
Forward and backward integration -- cause of errors
Why do airplanes use an axial flow jet engine instead of a more compact centrifugal jet engine?
Why do they consider the Ori false gods?
Why is desire the root of suffering?
Infinite Sequence based on Simple Rule
How to make a crossed out leftrightarrow?
Tic-tac-toe for the terminal, written in C
ECDSA - why not using the cyclic additive group
How to fix black screen in Desktop embedding for macOS?
Dart SDK is not configuredFlutter camera plugin not importing/useableHow can I show Flutter app if json data null or json link is deadException whilst trying to display an image in flutterNot able to run flutter app on iOS SimulatorMediaQuery.of() error when trying to set Background Image in FlutterScrollcontroller in flutter error Exception has occurredException Caught by widgets libraryMy app is not building debug console says Could not build the application for the simulatorExecution failed for task ':app:transformClassesWithMultidexlistForDebug'. while using image_picker_saver: ^0.1.0 plugin in flutter
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I'm trying to run my Flutter app as a Desktop app in macOS, so I'm using fluttter-desktop-embedding. I have launched the example app, but when I replaced the flutter project with mine, after building bundle and then run the app in Xcode, it says build succeed but shows a black screen with example embedder title and the debug ribbon.
I've already tried removing flutter framework folder and I have enabled debugDefaultTargetPlatformOverride.
Also I tried other projects, like flutters default one, but still black screen.
main.dart
import 'package:flutter/foundation.dart'
show debugDefaultTargetPlatformOverride;
void main()
debugDefaultTargetPlatformOverride = TargetPlatform.fuchsia;
runApp(MyApp());
dart flutter
add a comment |
I'm trying to run my Flutter app as a Desktop app in macOS, so I'm using fluttter-desktop-embedding. I have launched the example app, but when I replaced the flutter project with mine, after building bundle and then run the app in Xcode, it says build succeed but shows a black screen with example embedder title and the debug ribbon.
I've already tried removing flutter framework folder and I have enabled debugDefaultTargetPlatformOverride.
Also I tried other projects, like flutters default one, but still black screen.
main.dart
import 'package:flutter/foundation.dart'
show debugDefaultTargetPlatformOverride;
void main()
debugDefaultTargetPlatformOverride = TargetPlatform.fuchsia;
runApp(MyApp());
dart flutter
You should check the console output for more information, as there is very likely a Dart exception or engine error that is logging error details.
– smorgan
Mar 24 at 19:40
add a comment |
I'm trying to run my Flutter app as a Desktop app in macOS, so I'm using fluttter-desktop-embedding. I have launched the example app, but when I replaced the flutter project with mine, after building bundle and then run the app in Xcode, it says build succeed but shows a black screen with example embedder title and the debug ribbon.
I've already tried removing flutter framework folder and I have enabled debugDefaultTargetPlatformOverride.
Also I tried other projects, like flutters default one, but still black screen.
main.dart
import 'package:flutter/foundation.dart'
show debugDefaultTargetPlatformOverride;
void main()
debugDefaultTargetPlatformOverride = TargetPlatform.fuchsia;
runApp(MyApp());
dart flutter
I'm trying to run my Flutter app as a Desktop app in macOS, so I'm using fluttter-desktop-embedding. I have launched the example app, but when I replaced the flutter project with mine, after building bundle and then run the app in Xcode, it says build succeed but shows a black screen with example embedder title and the debug ribbon.
I've already tried removing flutter framework folder and I have enabled debugDefaultTargetPlatformOverride.
Also I tried other projects, like flutters default one, but still black screen.
main.dart
import 'package:flutter/foundation.dart'
show debugDefaultTargetPlatformOverride;
void main()
debugDefaultTargetPlatformOverride = TargetPlatform.fuchsia;
runApp(MyApp());
dart flutter
dart flutter
asked Mar 24 at 6:37
HooshyarHooshyar
429
429
You should check the console output for more information, as there is very likely a Dart exception or engine error that is logging error details.
– smorgan
Mar 24 at 19:40
add a comment |
You should check the console output for more information, as there is very likely a Dart exception or engine error that is logging error details.
– smorgan
Mar 24 at 19:40
You should check the console output for more information, as there is very likely a Dart exception or engine error that is logging error details.
– smorgan
Mar 24 at 19:40
You should check the console output for more information, as there is very likely a Dart exception or engine error that is logging error details.
– smorgan
Mar 24 at 19:40
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55321321%2fhow-to-fix-black-screen-in-desktop-embedding-for-macos%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55321321%2fhow-to-fix-black-screen-in-desktop-embedding-for-macos%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You should check the console output for more information, as there is very likely a Dart exception or engine error that is logging error details.
– smorgan
Mar 24 at 19:40