
Next, go to the LLDB Startup Command tab, press plus icon (+) and then input the following line, pressing the OK button to complete the process.Ĭommand script import "C:\PathToYourUE4EngineInstall\Engine\Extras/LLDBDataFormatters\UE4DataFormatters_2ByteChars. Once Android Studio is open, go to the Run Menu and select the Edit Configurations option.Ĭlick on the Debugger tab and set the debug type to Dual.

Open up the Android Studio Launcher and from the displayed options, select the Open an existing Android Studio Project.įrom the Open File or Project menu, navigate to C:\YourProjectName\Intermediate\Android\APK\Gradle and select the Gradle directory, then press the OK button. Next, build the apk that you want to debug and then deploy it to your Android device you will be using for debugging.

In the following section, we will go over how to download and set setup Android Studio so that it will work with a UE4 project.įirst, download and install Android Studio version 3.0.1 using the following link: () I downloaded the newest Android Studio, and I wanted to run the Android Jetpack Compose Project, but when I ran it, I got the error: > Failed to apply plugin. In the following how-to, we will take a look at getting Android Studio set up so that it can be used to debug your UE4 Android projects. To continue to work you are forced to build your project with the current stable Android Studio and Android plugin v2.X.X UPDATE - 6th November 2017 SonarQube released the new version 2.6 which is fully compatible with the AGP (Android Gradle Plugin) 3.0.0. Unreal Engine 4 (UE4) enables you to use Android Studio to debug the C++ and Java code that is used in your UE4 project.
