

Install the AGDE Plugin to Visual Studio. Make sure you have installed Visual Studio 2019 and are using it as your default Visual Studio version for Unreal Engine.ĭownload the AGDE plugin from the Android Developer page. To install the AGDE plugin and set up your project's solution to work with it, follow these steps: This guide will walk you through the process of downloading and enabling this plugin, and provide links to helpful resources for using it. This is the recommended debugging environment for Android projects in UE for Windows users. 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. Depending on your needs, it might be a superior solution to an OkHttp interceptor or Stetho.ĭo you have further questions on this topic or about Retrofit in general? Just let us know on Twitter or leave a comment below.Downloading and Installing the AGDE Plugin The Android Profiler let's you analyze the network traffic without adding any code to your app, and offering a novel presentation of the data. In this tutorial you've seen an overview of the network element of the Android Profiler in Android Studio. Additionally, you can also see the call stack of the network activity and understand where your code started the network request. This detail view offers you exact information about the payload, the headers and meta data about the request. When you click on a specific request, you can drill deeper into that request. This is presented in a convenient timeline, and additionally in a list. In the network view you'll see all requests, when they were made and how long it took to complete them. The overview is presented as a constantly updated timeline and already gives you valuable information how UI events, CPU and memory usage and the network traffic are correlated.īecause this tutorial is focused on the network part, you can click into the network section to open up a detailed network view. Once your app is running on a device or emulator, you can use the Android Profiler view to analyze UI, CPU, memory and network details. Analyze Network Traffic with Android Profiler When you run the app with this updated configuration, you'll be able to use the Android Profiler to analyze your app's network traffic. However, at the moment you still need to enable advanced profiling in your run/debug configuration. This solution works out-of-the-box with Android Studio 3.0. Unlike the OkHttp interceptor and Stetho you won't have to make any changes to your code.
