Comments (10)
Very odd - do these show up if you run flutter emulators
?
If not, can you enable the Flutter Daemon log and restart VS Code, reproduce the issue, then provide the log file? Thanks!
from dart-code.
Very odd - do these show up if you run
flutter emulators
?
√ ags % flutter emulators
3 available emulators:
apple_ios_simulator • iOS Simulator
• Apple • ios
INFO | Storing crashdata in: /tmp/android-rhisiart/emu-crash-34.1.19.db, detection is enabled for process: 88721 • INFO | Storing crashdata in:
/tmp/android-rhisiart/emu-crash-34.1.19.db, detection is enabled for process: 88721 • • android
Pixel_8_Pro_API_33 • Pixel 8 Pro API 33
• Google • android
To run an emulator, run 'flutter emulators --launch <emulator id>'.
To create a new emulator, run 'flutter emulators --create [--name xyz]'.
You can find more information on managing emulators at the links below:
https://developer.android.com/studio/run/managing-avds
https://developer.android.com/studio/command-line/avdmanager
from dart-code.
Do you see the same if you run emulator
from the Android SDK directly?
C:\Users\danny\AppData\Local\Android\sdk\tools\emulator.exe -list-avds
You can find your SDK path by running flutter config --machine
if you don't know it. emulator
won't have a .exe
if you're not on Windows, and it might be in the emulator
folder or the tool
folder.
My guess is that something is failing in this command in the SDK, and when Flutter is scraping the output for emulators it just reads the error as if it is an emulator (in which case the fix is probably in Flutter to skip over the lines that seem like errors in the output?).
from dart-code.
√ ags % flutter config --machine
{
"android-studio-dir": "/Applications/Android Studio.app",
"android-sdk": "/Users/rhisiart/Library/android/sdk"
}
√ ags % /Users/rhisiart/Library/android/sdk/tools/emulator -list-avds
Pixel_8_Pro_API_33
from dart-code.
hmm, well that's a little odd!
Could you file an issue at https://github.com/flutter/flutter/ and include both your outputs from above (running emulator -list-avds
directly, and flutter emulators
).
It's also worth seeing whether running /Users/rhisiart/Library/android/sdk/emulator/emulator -list-avds
is any different (since I seem to have two copies of emulator
in emulator/
and tools/
and Flutter seems to check for both).
from dart-code.
√ ~ % /Users/rhisiart/Library/android/sdk/tools/emulator -list-avds
Pixel_8_Pro_API_33
√ ~ % /Users/rhisiart/Library/android/sdk/emulator/emulator -list-avds
INFO | Storing crashdata in: /tmp/android-rhisiart/emu-crash-34.1.19.db, detection is enabled for process: 95538
WARNING | Crash annotation is very large (16415), only 16384 bytes will be recorded, 31 bytes are lost.
Pixel_8_Pro_API_33
from dart-code.
Ah, that's interesting. Apparently the emulator
one is new, so the new one is writing errors and the old one is not.
Please include the output of all three things in an issue in flutter/flutter. Probably a reasonable fix would be to ignore the lines that contain |
as it seems like they're not going to be emulator names.
There's another question about what's crashing and why, but that's probably a question/bug for the Android SDK rather than Dart/Flutter.
Thanks!
from dart-code.
Thanks @DanTup
from dart-code.
I'm filtering these bogus items out client-side until a fix ships in Flutter (and for SDKs prior to that fix).
from dart-code.
What are the chances that I add a filter today and then I managed to reproduce this:
😄
from dart-code.
Related Issues (20)
- Provide DTD address to analysis server
- Flutter gradle builder is not using correct JDK HOT 4
- False positive null warning HOT 3
- Issues moving comments when automatically moving `child` arg to last parameter position of widget constructor HOT 1
- VS Code's new "Run Tests" / "Debug Tests" entries in the explorer context menu do not work for Dart/Flutter HOT 4
- chose HOT 1
- chose HOT 1
- Migrate existing usages of `embed=true` query parameter for DevTools screens to `embedMode=one` HOT 4
- Remove use of page= query param for DevTools embeddings HOT 1
- "The Flutter Daemon has terminated" when connecting a physical android device in USB tethering mode HOT 9
- Use the new "Fix All in Workspace" commands in the "dart fix" prompt
- Dart analysis server at 100% cpu indefinitely when opening the Dart SDK repo (or flutter engine, which includes a nested copy) HOT 8
- `ctrl + alt` shows inferred types (inlay hints) with no option to disable HOT 2
- Building Flutter iOS app using VS Code breaks the build HOT 2
- Allow seeing the "Return value" of an operation in the debug panel HOT 3
- Remove the need for experimentalMacroSupport and gate on SDK version
- Make `Iterator<E>.current` return the nullable item `E?` HOT 1
- No code folding for`for` statements in VSCode HOT 1
- Add "See in pub.dev" in Codelens above each package in pubspec.yaml HOT 1
- Support autocompletion / intellisense in the Debug Console input (Debug Console REPL) like in TypeScript HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dart-code.