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;








0















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());










share|improve this question






















  • 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

















0















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());










share|improve this question






















  • 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













0












0








0








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());










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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

















  • 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












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
);



);













draft saved

draft discarded


















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















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript