Thanks to visit codestin.com
Credit goes to github.com

Skip to content

flutter listen causes SkyShell to crash when a file is changed #47

Closed
@abarth

Description

@abarth

From https://github.com/flutter/tools/issues/176

On OS X with fswatch installed.
Connected via adb to real android device.

cd into hello world app directory
Start the hello world app with flutter start --checked
Start listen with flutter listen
Open lib/main.dart and change the Hello world. text to anything, save.

adb logcat:

11-07 12:43:32.270  4335  4477 W UrlLoaderImpl: Network failure loading http://localhost:9888/lib/main.dart?rand=0.7224074384297607
11-07 12:43:32.272  4335  4357 E chromium: [ERROR:dart_library_loader.cc(299)] Library Load failed: http://localhost:9888/lib/main.dart?rand=0.7224074384297607
11-07 12:43:32.293  4335  4357 E chromium: [ERROR:dart_error.cc(16)] Dart_LookupLibrary: library 'http://localhost:9888/lib/main.dart?rand=0.7224074384297607' not found.
11-07 12:43:32.327  1906  3524 I WindowState: WIN DEATH: Window{29e51ec u0 SurfaceView EXITING}
11-07 12:43:32.327  1906  7745 D GraphicsStats: Buffer count: 3
11-07 12:43:32.329  1906  7745 I WindowState: WIN DEATH: Window{1f1c7fd u0 org.domokit.sky.shell/org.domokit.sky.shell.SkyActivity}
11-07 12:43:32.330  1906  7746 I WindowState: WIN DEATH: Window{6948678 u0 org.domokit.sky.shell/org.domokit.sky.shell.SkyActivity EXITING}
11-07 12:43:32.331  1906  1916 I WindowState: WIN DEATH: Window{2e6f9b5 u0 SurfaceView}
11-07 12:43:32.353  1409  1409 I Zygote  : Process 4335 exited cleanly (1)
11-07 12:43:32.372  1906  3790 I ActivityManager: Process org.domokit.sky.shell (pid 4335) has died
11-07 12:43:32.372  1906  3790 W ActivityManager: Force removing ActivityRecord{e40e49a u0 org.domokit.sky.shell/.SkyActivity t2371}: app died, no saved state
11-07 12:43:32.373  1906  3790 W ActivityManager: Force removing ActivityRecord{68357cf u0 org.domokit.sky.shell/.SkyActivity t2371}: app died, no saved state

/cc @jakerr

Metadata

Metadata

Assignees

Labels

c: crashStack traces logged to the consoletoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions