- Home /
Android missing gdiplus.dll error
Hey!
I get this logcat output on my android device:
E/Unity (16126): Unable to find gdiplus.dll
E/Unity (16126): Unable to find libc
D/SensorService( 2348): 0.2 9.7 3.5
I/Unity (16126): DllNotFoundException: gdiplus.dll
I/Unity (16126): at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
I/Unity (16126): at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0
I/Unity (16126): Rethrow as TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus
I/Unity (16126): at System.Drawing.Image.FromFile (System.String filename, Boolean useEmbeddedColorManagement) [0x00000] in <filename unknown>:0
I/Unity (16126): at System.Drawing.Image.FromFile (System.String filename) [0x00000] in <filename unknown>:0
I/Unity (16126): at SimpleEmoticonChat.Start () [0x00000] in <filename unknown>:0
I/Unity (16126):
I/Unity (16126): (Filename: Line: -1)
I/Unity (16126):
I took one GdiPlus.dll from the directory C:\Windows\winsxs, renamed it to gdiplus.dll and put the dll into the assets folder, but still i get the exact same error.
What can I do?
Best, Andre
Comment
Hi Andre
I'm getting a similar error when trying to make use of System.Drawing.dll
Did you ever manage to solve this?
Thanks!
Did you put it into Assets/
or Assets/Plugins/
? DLLs should be in a Plugins
folder.
Also, I'm not sure it will work at all, it might be a Windows specific DLL that won't work on other platforms, but maybe there is a version for Android.