Repository navigation
Error launching DevFS loader on Android SDK built for x86 64. #6515
Description
Activity
- addedtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
on Oct 25, 2016 I updated my local Android SDK to 25, to match android 7.1.1. Now, I can (very slowly) boot up the starter app onto an x86 64 emulator. The initial sync is very slow for some reason.
I now see this error:
Exception from flutter run: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:8100 dart:io _HttpClient.putUrl package:flutter_tools/src/devfs.dart 225 _DevFSHttpWriter._scheduleWrite.<async> ===== asynchronous gap =========================== dart:async Future.Future.microtask package:flutter_tools/src/devfs.dart _DevFSHttpWriter._scheduleWrite package:flutter_tools/src/devfs.dart 218 _DevFSHttpWriter._scheduleWrites package:flutter_tools/src/devfs.dart 206 _DevFSHttpWriter.write.<async> ===== asynchronous gap =========================== dart:async Future.Future.microtask package:flutter_tools/src/devfs.dart _DevFSHttpWriter.write package:flutter_tools/src/devfs.dart 387 DevFS.update.<async> dart:async _SyncCompleter.complete package:flutter_tools/src/devfs.dart 540 DevFS._scanDirectory.<async> ===== asynchronous gap =========================== dart:async _asyncThenWrapperHelper package:flutter_tools/src/devfs.dart DevFS.update package:flutter_tools/src/hot.dart 357 HotRunner._updateDevFS.<async> ===== asynchronous gap =========================== dart:async Future.Future.microtask package:flutter_tools/src/hot.dart HotRunner._updateDevFS package:flutter_tools/src/hot.dart 290 HotRunner._run.<async> dart:async _SyncCompleter.complete package:flutter_tools/src/hot.dart 412 HotRunner._launchFromDevFS.<async> dart:async _SyncCompleter.complete package:flutter_tools/src/vmservice.dart 937 FlutterView.runFromSource.<async> ===== asynchronous gap =========================== dart:async _asyncThenWrapperHelper package:flutter_tools/src/hot.dart HotRunner._run package:flutter_tools/src/hot.dart 150 HotRunner.run.<fn> package:stack_trace Chain.capture package:flutter_tools/src/hot.dart 149 HotRunner.run package:flutter_tools/src/commands/run.dart 221 RunCommand.runCommand.<async>The fix for this issue is probably more around signalling to the user that their android sdk is too old for the target.
I'm going to close this particular issue, because once the user upgrades their SDK, they can boot up the starter app.
Another issue is probably warranted, one around the exception thrown after the the app boots.
- added a commit that references this issue
on Oct 15, 2018 This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Sep 5, 2021