Yes, the RECEIVER_EXPORTED flag is available from SDK 33, that’s why I was checking against running device OS BUILD Version SDK >= Tiramisu
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU)
If you still have the issue, please try connecting the device through USB and collect logs from logcat/AndroidStudio. It should give a better understanding of the crash root cause. I did the same to identify billing client v6.0.0 causing crash on SDK 34 device, as that doesn’t use RECEIVER_EXPORTED flag until v7.0.0.
Hey, so i did replace the lines and added the imports, probably exactly as written.
But I found out that I was rebuilding the solutions in DebugGameEditor, which is obviously wrong. I was also suspecting something because it rebuilt everything in like 2-3 seconds.
But when I try to rebuild to Shipping, Development or something else, i get these errors (they happen somewhere during or after the 11th module build):
|Error|LNK1181|cannot open input file ‘E:\UE_4.27\Engine\Plugins\Online\Android\OnlineSubsystemGooglePlay\Intermediate\Build\Win64\UE4Editor\Development\OnlineSubsystemGooglePlay\UE4Editor-OnlineSubsystemGooglePlay.lib’
|Error|MSB3073|The command E:\UE_4.27\Engine\Build\BatchFiles\Rebuild.bat ezREMAKEEditor Win64 Development -Project=D:\Misc\Unreal projects\ezREMAKE\ezREMAKE.uproject -WaitMutex -FromMsBuild exited with code -1.|ezREMAKE|C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets|51||
Looked online, some people said to add the plugin enabled:true in the .uproject file,
some others said to add the plugin into the Public and PrivateDependencyModuleNames.Add commands, but those didn’t help.
Do I need to use VS2022 or could I be missing some component in the VS instalation?
I’m using Visual studio 2019. (16.11.34).
Apologies if this is getting tiresome, I proceed one step and have to deal with something else like this, it just keeps happening.
Would you mind if we took this conversation to Discord or any other messaging platform?
If you aren’t too busy with other facets of life that is.
I could then post a solution here if it works out.
I’m not sure, VS2022 will help in this problem. However, I’m on it (VS2022)
Perhaps, something is different in UE4.
I’m on UE 5.3.2 and I’m always using shipping / android configuration to build all the changes mentioned earlier.
My build tools for android is 34.0.0 and Java compile SDK is set as android-33.
I’m sorry, I don’t have other info to help you on UE4 at this time.
However, you can chat with me on discord @ ‘rushatgames’