Xamarin.Forms.Map app crashes

Amitesh Sharma 1 Reputation point
2022-07-26T22:32:48.25+00:00

Hi
We upgraded to Xamarin.Forms.Maps to version 5.0.0.2515 and Xamarin.Forms to version 5.0.0.2515
After the upgrade, the app crashes when a view is opened with map for Android versions < 9. Android version 9 and up works fine.
The error we get is

[DynamiteModule] Considering local module com.google.android.gms.maps_dynamite:0 and remote module com.google.android.gms.maps_dynamite:202414000
[DynamiteModule] Selected remote version of com.google.android.gms.maps_dynamite, version >= 202414000
[Google Maps Android API] Google Play services client version: 12451000
[Google Maps Android API] Google Play services package version: 202414023
System.NullReferenceException: 'Object reference not set to an instance of an object.'

[DynamiteModule] Local module descriptor class for com.google.android.gms.googlecertificates not found.
[DynamiteModule] Considering local module com.google.android.gms.googlecertificates:0 and remote module com.google.android.gms.googlecertificates:4
[DynamiteModule] Selected remote version of com.google.android.gms.googlecertificates, version >= 4

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.