-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to start emulator from VS Code #1646
Comments
Hi @HobDev, Did you try manually starting the Android emulator and see if it runs correctly? Also, could you try creating and running another emulator and see if it makes any difference? Thanks |
@HobDev in order to understand the issue please share the following information:
We look forward to hearing from you! |
@tondat The binlog file from the solution when I debugged without starting the emulator: Run the abd devices command in the platform-tools folder of Android sdk. The result is below:
|
@mauroa, the 'needs-more-info' label has been removed upon receiving further response from the original bug filer. |
@HobDev please try run './adb devices'. The bug was reported on MacOS. |
The binlog file from the solution when I debugged without starting the emulator on macOS:msbuild.binlog.zip Run the
|
I deleted Android SDK and emulators from my Mac and reinstall it using Android Studio. Now I able to start the emulator from the VS Code. I don't know the actual cause due to which the emulator was not starting from VS Code previously. But it's working fine now after installing Android Studio. |
The reported build error The command I need the following information to understand how you arrive to this situation: |
1- I am using debug target picker ({}) in the Status Bar to set the debug target and startup project
|
@tondat |
Type: Bug
Getting the following error when trying to debug a new .NET Mau project.
[{
"resource": "/usr/local/share/dotnet/packs/Microsoft.Android.Sdk.Darwin/35.0.7/tools/Xamarin.Android.Common.Debugging.targets",
"owner": "maui",
"code": "XA0010",
"severity": 8,
"message": "Selected device is not running.",
"startLineNumber": 333,
"startColumn": 5,
"endLineNumber": 333,
"endColumn": 5
}]
Extension version: 1.5.34
VS Code version: Code 1.95.3 (Universal) (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Darwin arm64 24.1.0
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: