I get this error when trying to compile a 32-bit Android application:
[DCC Error] E2597 c:\program files (x86)\embarcadero\studio\21.0\lib\Android\debug\SysInit.o: error adding symbols: File in wrong format
When compiling for 64-bit, there is no problem.
I have tried reinstalling the Android platform, and using a different SDK version, but the issue is the same.
How do I resolve this?