Frederik Carlier
Frederik Carlier
Yes. Use the Mono Ubuntu repositories to get a newer version of libgdiplus.
You don't need to install Mono. But the package repositories for Mono contain an updated version of libgdiplus. Alternatively, Ubuntu 20.04 should ship with libgdiplus 6.
The easiest way is to add the Moni apt repositories to your system, and then run apt-get update and upgrade. https://www.mono-project.com/download/stable/#download-lin You don't need to install Mono, just libgdiplus from...
Note to self - Covered by `test_createBitmapFromScan0` in `testbitmap.c`
@hughbe, is it possible this is fixed by #558 (i.e. `scan0` is `NULL`) or was this for non-`NULL`-values of `scan0`?
Yes, most likely. Termux probably ships NDK-compiled versions of most dependencies, too.
Do you have a small code sample which reproduces the problem? .NET Core tests System.Drawing on macOS using libgdiplus 6.0.4, so I'm guessing you're hitting a rather specific exception.
I'm seeing this on Android 8 and earlier, but not on 9 & 10. May be related to https://github.com/Genymobile/scrcpy/issues/5#issuecomment-381316950 and https://android-review.googlesource.com/c/platform/system/core/+/664644
https://issuetracker.google.com/issues/37066218 (via https://www.genymotion.com/blog/open-source-project-scrcpy-now-works-wirelessly/) pretty much confirms it; there's a bug in `adbd` (running on the device side) which will cause `adb reverse` to fail if the device is connected over...
I'm not really convinced this should be a feature of plist-cil. If it is, at the very least, it should be opt-in.