I have a project that was working OK. I was testing on a device with Android 4.1.1, so I have set the Android configuration with that version as the minimum. Compilation SDK and target are set as 9.0. So far, so good.
But now, I need to try it on a 4.0.3 Android device and I'm having issues.
Of course, I changed minimum version, I installed Android SDK PLatform 15 from SDK Manager in Visual Studio 17, cleaned project, restart... But when I try to debug, this exception appears:
Java.Lang.NoSuchMethodError: no method with name='getLineSpacingMultiplier' signature='()F' in class Landroid/widget/TextView;
I was googling for half and an hour looking for some clue. Of course, it looks like some methods are no working because it's a very old version of Android, but I have no choice but to make it works in this device, with no chance of updating it.
The most similar answer I got was this thread:
But setting Minimum version to 4.1.1 doesn't let me debug on the device (and I need to check some HW behaviour).
What can I do?
Is there a way to override all the non-existing methods like the above mentioned, if there is no way I can set the environment to test it?