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

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현