UE 4.27 - AndroidErrorReport: Cannot open include file: "GenericErrorReport.h" preventing my code from compiling. This has not nor will it ever be an android project

I’m using Rider as an IDE which some sources indicate might be the problem, but I’m not sure. I have never touched the script that this error is in, nor do I intend to. This is what the compiler error looks like.

Seems someone else had the same problem on the forum

Yeah that’s the issue I’ve been having, for weeks now. I’ve had to focus on other projects but now I need to get this done. There are no solutions that work suggested in the other thread.

I have the AndroidErrorReport.h file with its #include statement for GenericErrorReport, but then I just have to start deleting references and hope nothing else breaks?

Not a single script I’ve written has included any of these error reports.

I also got this error using Rider!

This tread solved it : https://forums.unrealengine.com/t/completely-random-error-from-androiderrorreport-h-trying-to-compile-project/688438/3

Rider added an include and you don’t see it because it collapses all includes by default :slight_smile: