Bug 4613 - System.MissingMethodException (get_Accuracy) in Xamarin.Mobile location dlls
Summary: System.MissingMethodException (get_Accuracy) in Xamarin.Mobile location dlls
Status: RESOLVED FIXED
Alias: None
Product: Mobile API (Preview)
Classification: Xamarin
Component: Xamarin.Android ()
Version: Preview
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Eric Maupin
URL:
Depends on:
Blocks:
 
Reported: 2012-04-24 05:57 UTC by Derek Mitchell
Modified: 2012-04-24 13:36 UTC (History)
1 user (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 FIXED

Description Derek Mitchell 2012-04-24 05:57:22 UTC
I’m using 4.1 and I’m getting an error using the Xamarin.Mobile location dlls.

04-11 18:25:22.540: E/mono(5277): Unhandled Exception: System.MissingMethodException: Method not found: 'Android.Locations.LocationProvider.get_Accuracy'.

04-11 18:25:22.540: E/mono(5277):   at Android.Locations.ILocationListenerInvoker.n_OnLocationChanged_Landroid_location_Location_ (IntPtr jnienv, IntPtr native__this, IntPtr native_location) [0x00000] in <filename unknown>:0 

04-11 18:25:22.540: E/mono(5277):   at (wrapper dynamic-method) object:0b131b9f-bc16-4657-82cb-54fe9eb8ee80 (intptr,intptr,intptr)

I downloaded the latest Xamarin Preview DLLs (0.3) fwiw.

This issue started after I upgraded to MfA 4.1.

Regards
Derek
Comment 1 Eric Maupin 2012-04-24 13:36:40 UTC
The downloadable (available at http://xamarin.com/mobileapi ) for
Xamarin.Mobile has been updated with a MfA 4.2 (which 4.1 is a preview of)
build, this should resolve your issue.