Skip to content
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

Add section on deploying to the device #2784

Merged
merged 2 commits into from
Feb 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion docs/android/device/setup.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Set up a device for development"
description: "This article discusses how to enable development mode on an Android device so that you can deploy and debug a .NET MAUI application."
ms.date: 09/30/2024
ms.date: 02/13/2025
---

# Set up Android device for debugging
Expand Down Expand Up @@ -107,3 +107,12 @@ Next, use adb to connect to your device, first through a USB connection:
## Configure on-device developer options

The Settings app on Android includes a screen called **Developer options** where you can configure system behaviors that help you profile and debug your app performance. For more information, see [Configure on-device developer options](https://developer.android.com/studio/debug/dev-options) on developer.android.com.

## Debug an app on an Android device

To debug an app on an Android device:

1. Plug the device into your machine and select it as a debug target in Visual Studio or Visual Studio Code.
1. Run the app.

For information about selecting a debug target in Visual Studio, see [Build your first app](~/get-started/first-app.md?pivots=devices-android&tabs=vswin). For information about selecting a debug target in Visual Studio Code, see [Build your first app](~/get-started/first-app.md?pivots=devices-android&tabs=visual-studio-code).