Unreal Engine 5.6.1 error when packaging for Android

UATHelper: Packaging (Android (ETC2)): Z:\app\src\main\java\com\epicgames\unreal\androidprofiling\ProfilerAccessor.java:100: error: cannot find symbol

When attempting to package my android game for ue5.6, i keep hitting this error above ^

Does anyone know of a solution for this?

let me know if you need any addtional information to support this.

Thank you

Hello there @CA_LG!

Checking around the community, the error you are getting points at a possible conflict between the Android SDK and UE, involving a missing element that the compiler is not being able to find. This type of issue is usually tied to file corruption, or as stated before, SDK setup issues.

To pinpoint the issue’s origin, let’s start with a cache clear, to rule out corruption. Close UE, then navigate to your project’s main directory, and delete the following folders:

  • Intermediate
  • Saved
  • Derived Data Cache
  • Binaries
  • Build

After that, restart the engine, allow the project to regenerate (or force it via right clicking the .uproject file and applying “Generate Project Files”), and then test packaging again.

If the issue persists, then you will need to double-check all the componets in your SDK setup, and make sure that all relevant parts are properly installed. Please check the UE guide below for the process: