Update: Of course you’ve understood that the first problem is fixed in the VS 8.2 preview.
Just wanted to express my anger when Murphy’s law is playing with my nerves.
My main development machine is in maintenance because of a – yet to be confirmed – graphic card problem. So I’m installing the tools I need to work on my laptop.
Visual Studio 2019 for Mac (latest stable version at the time of this writing) seems to produce an invalid app which leads to the following problem:
Java.Lang.ClassNotFoundException: Didn't find class "md53445bfa005abb70b0a2fcd6c25bc64be.AwaitableOkHttp_OkTaskCallback" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.hygeex.yaka-m9xUNrgByX3UrNUqkKhZqQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.hygeex.yaka-m9xUNrgByX3UrNUqkKhZqQ==/lib/arm64, /data/app/com.hygeex.yaka-m9xUNrgByX3UrNUqkKhZqQ==/base.apk!/lib/arm64-v8a, /system/lib64]]
All right, seems that the recent move to the openjdk might be the source of the problem. If the app is compiled against the Xamarin Android 9.0 SDK (Mono 5.12), which is the SDK I’m targeting in AppCenter, it is working fine.
In order to be able to work, I decided to try the latest preview version of VS for Mac and switched to that update channel.
The app is still failing, but this time with another error message:
System.NotSupportedException: Could not activate JNI Handle 0xbe9fcf68 (key_handle 0xc0f2d77) of Java type 'md57332cbacb057c614f32ff78a8e2c1cd4/SfCircularGauge' as managed type 'Com.Syncfusion.Gauges.SfCircularGauge.SfCircularGauge'.
This is tied to a component I’m using, but I do not have the problem with a previous version of the Xamarin SDK. Furthermore, the component supplier is not able to reproduce the problem. Let’s see what Microsoft would say about it.
I guess I’ll just have to wait for answers to the support cases.