Bug 36137 - Application Crashes While Trying to open Maps in xamarin.forms on Android
Summary: Application Crashes While Trying to open Maps in xamarin.forms on Android
Status: RESOLVED NORESPONSE
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.0.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-11-23 01:43 UTC by XamD
Modified: 2016-04-13 19:44 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description XamD 2015-11-23 01:43:43 UTC
I am facing same issue of application crash with Xamarin.Forms version 2.0.0.6484 and Xamarin.GooglePlayServices.Maps version 26.0.0.0. Please find below the exception log.


Exception: Java.Lang.NoSuchMethodError: No static method zzv(Ljava/lang/Object;)Ljava/lang/Object; in class Lcom/google/android/gms/common/internal/zzx; or its super classes (declaration of 'com.google.android.gms.common.internal.zzx' appears in /data/app/com.companyname.test-1/base.apk)
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <filename unknown>:0 
  at Android.Runtime.JNIEnv.CallStaticIntMethod (IntPtr jclass, IntPtr jmethod, Android.Runtime.JValue* parms) [0x0006a] in <filename unknown>:0 
  at Android.Gms.Maps.MapsInitializer.Initialize (Android.Content.Context context) [0x00049] in <filename unknown>:0 
  at Xamarin.FormsMaps.Init (Android.App.Activity activity, Android.OS.Bundle bundle) [0x0002b] in <filename unknown>:0 
  --- End of managed exception stack trace ---
java.lang.NoSuchMethodError: No static method zzv(Ljava/lang/Object;)Ljava/lang/Object; in class Lcom/google/android/gms/common/internal/zzx; or its super classes (declaration of 'com.google.android.gms.common.internal.zzx' appears in /data/app/com.companyname.test-1/base.apk)
	at com.google.android.gms.maps.internal.zzy.zzaF(Unknown Source)
	at com.google.android.gms.maps.MapsInitializer.initialize(Unknown Source)
	at md5774612d1059550a86887b889cb974a69.MainActivity.n_onCreate(Native Method)
	at md5774612d1059550a86887b889cb974a69.MainActivity.onCreate(MainActivity.java:28)
	at android.app.Activity.performCreate(Activity.java:6289)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758)
	at android.app.ActivityThread.access$900(ActivityThread.java:177)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:145)
	at android.app.ActivityThread.main(ActivityThread.java:5942)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Comment 1 Rajneesh Kumar 2016-01-12 17:38:30 UTC
I tried to reproduce this issue but not sure about the steps, that result unable to reproduce this. 

Could you please share a small sample application or steps that demonstrate this issue. That would be very helpful to reproduce this issue at our end.

Thanks..!
Comment 2 Paul DiPietro [MSFT] 2016-04-13 19:44:59 UTC
Thank you for your bug report. As we have not received the information requested, we cannot properly triage your bug and are marking it resolved.

Warm regards,
Xamarin Forms Team