I used Archive Manager on Linux Mint to open the APK of a game made with Unity. To my surprise, inside the archive, there is a folder under the path /assets/bin/Data/Managed/ that contains almost 10MB of DLL libraries.
The file command on Linux gives this output on the DLLs:
PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
As far as my understanding goes, those should only be useful on Windows running machines.
Why would anyone load 10MB of useless data in a 50MB APK? Am I missing something here and DLL libraries can in fact be used by Android?
file's output: that app is using Mono and loads code via those libraries in a way like Wine does on Linux. Some comparable thing on Linux were the win32codecs; also a collection of*.dllfiles to support additional media codecs on Linux. – Izzy Apr 30 '18 at 10:49