Delphi 10.4.2 and 11.0 both give SysInit.o: error adding symbols for Android Application Store


Tried in both Delphi 10.4.2 and 11.0 (patched fully for both versions)
Note: using Android SDK 30.0.3 as that is the minimum required to submit to Android Play Store. NDK version 21.
I can compile in Development mode, but get strange errors once I switch to Application Store (with or without signed keystore)
Even using a basic project such as HeaderFooter template, I get this error:
[DCC Error] E2597 c:\program files (x86)\embarcadero\studio\22.0\lib\Android\Release\SysInit.o: error adding symbols: File in wrong format
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
I have googled every possible page that has this error.
Only found this link: where it was encountered by someone else.
Even the most basic project is not possible to do a Build All. Sometimes the Project-Compile works but Build All never works, and then I can generate an .aab file occasionally.
However, when it comes a to bigger project, I get the above error all the time. Note that this bigger app has been compiled successfully to run in Developer mode in an actual Android phone and is running very well.
note: I used a keystore generated in Delphi. Even if not using a keystore file in Delphi, I encounter the same issue of "SysInit.o: error adding symbols for Android Application Store".
Please advise how to resolve this error as it happens on both Delphi 10.4.2 and 11.0 (both patched fully).

Comments are closed.