hi, im facing a simple issue, where the build seems to fail upon not recognizing the “symbol” for RECEIVER_EXPORTED, i thought id ask if someone has expereinced the same and knew the issue:
\GameActivity.java:768: error: cannot find symbol
registerReceiver(consoleCmdReceiver, new IntentFilter(Intent.ACTION_RUN), RECEIVER_EXPORTED);
this is the error, cannot find symbol, and it occurs when i change the
//registerReceiver(consoleCmdReceiver, new IntentFilter(Intent.ACTION_RUN));
to
registerReceiver(consoleCmdReceiver, new IntentFilter(Intent.ACTION_RUN), RECEIVER_EXPORTED);
in the gameactivity.java.template in UE_5.0\Engine\Build\Android\Java\src\com\epicgames\unreal
which is needed to build for android sdk 34+ and above, the issue seems to be the unreal engine 5.0.3 doesnt recognize the symbol, i dont have enough experience to pinpoint the exact issue, but i heard it could be occur from many places.
however this works for later engine versions, just for 5.0.3 it throws a little erroar.