Debugging Android Projects in Visual Studio with AGDE

How to enable and use Visual Studio debugging in your Unreal Engine Android projects.


Unreal Engine (UE) supports debugging with the Android Game Development Extension (AGDE) Plugin for Visual Studio, which provides debugging and profiling tools for Android projects in Visual Studio without the need to switch environments to Android Studio. This is the recommended debugging environment for Android projects in UE for Windows users.

This guide will walk you through the process of downloading and enabling this plugin, and provide links to helpful resources for using it.

Downloading and Installing the AGDE

To install the AGDE plugin and set up your project's solution to work with it, follow these steps:

  1. Download the AGDE plugin from the Android Developer page.

  2. Install the AGDE Plugin to Visual Studio.

  3. Locate the .uproject file for your project, right-click it to open the context menu, then click Generate Project Files to regenerate your Visual Studio solution.

The newly regenerated solution will have the plugin enabled by default.

Using the AGDE Plugin

Once you have enabled AGDE, the plugin will detect your connected Android devices directly in Visual Studio. You can debug Unreal Engine games on your devices using AGDE's workflow for building and launching projects.

For more information on AGDE's features, refer to the following documentation:

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey