microsoft / microsoft/vscode-dotnettools

[BUG] Can't debug a .net 8 for android app on a fireTV when running from vscode on mac.

Open
#2,011 4 comments 0 reactions 1 assignee View on GitHub

@mauroa is already working on this.

Since May 12, 2025.

area-maui bug
Dominant language
No language data
Stars
321
Forks
54
Avg merge
2d 19h
Merged PRs (30d)
2

Description

Describe the Issue

We have a fireTV app which is written in .net 8 for android. I recently had to switch from using Visual Studio 2022 on pc to vscode on a mac. I am unable to run and debug the app from vscode. This issue only happens with .net 8 and only on a firetv stick. If i try running a .net 8 for android app on a mobile android device, it works fine whether i use usb debugging or wireless debugging. If I try running a test app written in kotlin from android studio, I can run and debug it on the firetv device. The only way I am able to run the .net 8 app on the firetv device is by attempting to run it from vscode, deleting the app that gets installed from the firetv, then using adb to manually install the signed apk on the firetv. I’ve also tried using an android tv emulator, but it almost always freezes up and when it doesn’t freeze it fails to fetch data from our api so i am unable to reliably test the app. One thing I’ve noticed is a message in the build output instructing me to start sdb and connect my device, but from what I understand sdb is meant for tizen apps.

Steps To Reproduce

Create a .net for android application and attempt to run and debug it from vscode.

Expected Behavior

The app should launch and you should be able to set breakpoints

Environment Information

.net sdk:
8.0.405

workloads:
Installed Workload Id Manifest Version Installation Source

maui-ios 8.0.100/8.0.100 SDK 8.0.400
maui-android 8.0.100/8.0.100 SDK 8.0.400
ios 18.0.8319/8.0.100 SDK 8.0.400
maui 8.0.100/8.0.100 SDK 8.0.400
android 34.0.147/8.0.100 SDK 8.0.400

android studio:
Android Studio Ladybug Feature Drop | 2024.2.2 Patch 2
Build #AI-242.23726.103.2422.13103373, built on February 21, 2025
Runtime version: 21.0.5±13047016-b750.29 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 15.4
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 3072M
Cores: 14
Metal Rendering is ON
Registry:
ide.experimental.ui=true
i18n.locale=

jdk:
openjdk version “17.0.14” 2025-01-21 LTS
OpenJDK Runtime Environment Microsoft-10800294 (build 17.0.14+7-LTS)
OpenJDK 64-Bit Server VM Microsoft-10800294 (build 17.0.14+7-LTS, mixed mode, sharing)

android sdks:
Android 15
Android 14

Android sdk build tools:
35.0.1
35.0.0
34.0.0

Android sdk command line tools:
17.0
11.0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.