Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
listSync hangs in release mode with Flutter beta 0.6.0 #21242
Steps to Reproduce
I upgraded to Flutter beta 0.6.0 yesterday.
Now my app hangs when calling the listSync function when running in release mode.
I made a minimally modified version of the default main.dart program that demonstrates the problem. listSync hangs when running on both iOS & Android devices.
Here's the gist:
Doctor summary (to see all details, run flutter doctor -v):
• No issues found!
have you found a fix for the this?
Some new bugs***
referenced this issue
Sep 1, 2018
listSync is failing because the VM can't look up some file/directory constructors:
I found out this inconsistency started after the reduction in release binary from v0.6.0 upwards, and It still exist even in v0.7.5.
This should be looked into
E/flutter (13016): [ERROR:flutter/shell/common/shell.cc(181)] Dart Error: Dart_New: could not find constructor 'File.fromRawPath'.