Xamarin.Android 10.1.0.29
Pre-release
Pre-release
November 4, 2019 — Xamarin.Android 10.1.0.29 was released as part of Visual Studio 2019 version 16.4 Preview 3 and to the Preview updater channel of Visual Studio 2019 for Mac version 8.4 Preview 2.
Corresponding Visual Studio 2019 Preview release notes
What's new
Issues fixed in Xamarin.Android 10.1.0.29
Application and library build process
- GitHub 3571: Errors returned by the ProGuard tool were all surfaced under an unspecific and misleading error MSB6006: "java.exe" exited with code 1. build error. Xamarin.Android 10.1 now includes the more specific error text from ProGuard in the build error.
- GitHub PR 3685: warning ANDJS0000 was always shown for the
jarsigner
warnings The signer's certificate is self-signed. and No -tsa or -tsacert is provided and this jar is not timestamped. Those messages were not relevant for Xamarin.Android users, so Xamarin.Android 10.1 now reports them as informational messages rather than warnings. - GitHub PR 3750: Starting in Xamarin.Android 10.1.0.1, ObjectDisposedException ... at HashAlgorithm.ComputeHash could projects from building successfully if they referenced Xamarin.Android.Support libraries version 26 or earlier.
- GitHub PR 3766: The new exception code prefixes added in GitHub PR 3609 did not yet include specific error codes for unexpected element <activity> found in <manifest> and other similar errors caused by elements located in unexpected locations in the AndroidManifest.xml file.
- GitHub 3779: In projects configured to use AAPT2, the second build could incorrectly succeed without errors if the first build failed due to an error in an Android resource file.
- GitHub 3807: Xamarin.Android projects did not yet enable C# 8 features by default for projects that left the
$(MaxSupportedLangVersion)
MSBuild property at the default empty value. - Java.Interop GitHub 496: Bindings projects for Kotlin libraries could fail to build due to hyphen characters in method names generated by Kotlin.
Application deployment
- Developer Community 576975, GitHub 3091: The Removing old runtime and Installing shared runtime deployment steps were repeated during every incremental deployment on certain devices.
Application behavior on device and emulator
- Developer Community 749635: Starting in Xamarin.Android 10.0.99.100, apps could exit during launch on certain older Android devices, resulting in the message Couldn't connect to logcat, GetProcessId returned: 0. Couldn't connect debugger. in the Debug output.
- GitHub 3348: FATAL EXCEPTION: main ... java.lang.IllegalStateException: Module with the Main dispatcher is missing. could prevent apps from running if they referenced Kotlin libraries.
- GitHub 3751: Methods marked with
Lifecycle.Event
attributes were not called as expected in apps built with the D8 Dex compiler in combination with Enable Multi-Dex. - GitHub 3758: Starting in Xamarin.Android 10.1.0.1, System.IO.FileNotFoundException: Could not load the file 'Mono.Android.Export' prevented apps from running successfully in the Debug configuration if they used types from the Mono.Android.Export assembly.
Application Mono Framework behavior on device and emulator
This version of Xamarin.Android updates the Mono 6.6 runtime and class libraries from Commit 52810372 to Commit 8946e49a, adding 41 new commits.
Fixes included for issues reported with Xamarin.Android applications:
- GitHub 3726: System.NotSupportedException: 'TypeConverter cannot convert from System.String. prevented apps from using
TypeConverter.ConvertFromString()
to create an instance ofSystem.Drawing.Color
.
OSS core
The corresponding open-source build without commercial features is xamarin-android-d16-4 build #41.