Posts

Showing posts from February, 2022

[Bug] System.TypeLoadException: Parent class vtable failed to initialize, due to: VTable setup of type AndroidX.SwipeRefreshLayout.Widget.SwipeRefreshLayout #14424

Image
  Ended  up having to install Xamarin.AndroidX.AppCompat.AppCompatResources (version 1.3.0) and downgrading Xamarin.AndroidX.Core from version 1.6.0 to 1.5.0  it began after updating to Xamarin Forms 5.0.0.2083 which required AndroidX.Core Not sure if it'll help with your problem exactly but those steps fixed it . OR downgrading  Xamarin.AndroidX.Core  from version  1.6.0  to  1.5.0  resolved  issue. OR Do you think this is fixed with the new AndroidX.Core 1.6.0.1 ?                                                                                        OR Updating to 1.6.0.1 didn't work for us as well but we have 2 workarounds for this. Skip linking for Xamarin.AndroidX.Core Put this  <AndroidLinkSkip>Xamarin.AndroidX.Core</AndroidLinkSkip>  in *.Droid.csproj or Alternatively Install "Xamarin.Google.Android.Material" and "Xamarin.AndroidX.SwipeRefreshLayout" directly in your *.Droid project We picked the first solutio

java.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException:

  just give a check meta-data tag is out of activity tag if it is like this <manifest> <application> <activity> <meta-data> android:name= "com.google.android.gms.ads.APPLICATION_ID" android:value= "ca-app-pub-4347201915048498~6120388314" /> </activity> </application> </manifest> this should be changed to this <manifest> <application> <activity> </activity> <meta-data android:name= "com.google.android.gms.ads.APPLICATION_ID" android:value= "ca-app-pub-4347201915048498~6120388314" /> </application> </manifest>                                    OR Only add this code to the manifest on your app and thats it <meta-data android:name= "com.google.android.gms.ads.AD_MANAGER_APP"