locked
Android App Crashing Xamarin Forms Maps RRS feed

  • Question

  • User135469 posted

    Hi everyone, I am facing an issue when installing Xamarin Forms Maps, the Android application is crashing when loading application. did someone come across this issue? I will let the packages I am using and the log. I hope somebody can help me

    packages: AiForms.Layout 1.0.4 Bogus 22.0.8 CarouselView.FormsPlugin 5.2.0 Com.Airbnb.Xamarin.Forms.Lottie 2.5.2.1 FresMvvm 2.2.4 Xam.Plugin.Iconize 2.0.0.37-beta Xam.Plugin.TabView 1.0.3 Xamarin.FFImageLoading.Forms 2.3.6 Xamarin.Forms 2.5.1.444934 Xamarin.Forms.Maps 2.5.1.444934

    Android packages: Xamarin.Android.Support.Design 25.4.0.2 Xamarin.Android.Support.v4 25.4.0.2 Xamarin.Android.Support.v7.AppCompat 25.4.0.2 Xamarin.Android.Support.v7.CardView 25.4.0.2 Xamarin.Android.Support.v7.MediaRouter 25.4.0.2 BottomNavigationBar 1.4.0.3

    Log is attached

    the resources pointing I guess is // aapt resource value: public const int TextAppearanceMediaRouterSecondaryText = 2131492865;

    Bless you, guys.

    Thursday, May 3, 2018 4:17 PM

Answers

  • User135469 posted

    Fixed :D I realized that I was using two types of resources for the toolbar

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, May 3, 2018 5:01 PM

All replies

  • User180523 posted

    Tutorial and sample https://developer.xamarin.com/samples/xamarin-forms/WorkingWithMaps/

    My first guess is you didn't init the maps package in your Android Main.Activity

    Thursday, May 3, 2018 4:21 PM
  • User135469 posted

    I did it :D and even I am not using the maps object, just install the package, set the key, init the library and run it, but when loading application it crashes :'c

    Thursday, May 3, 2018 4:27 PM
  • User135469 posted

    Fixed :D I realized that I was using two types of resources for the toolbar

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, May 3, 2018 5:01 PM