Bug 34208 - Xamarin Google Play Services - Maps 26.0.0-rc4 seems to be missing IOnCameraChangeListener type
Summary: Xamarin Google Play Services - Maps 26.0.0-rc4 seems to be missing IOnCameraC...
Alias: None
Product: Components
Classification: Xamarin
Component: Xamarin Components ()
Version: N/A
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Jon Dick
Depends on:
Reported: 2015-09-23 11:48 UTC by Ota Mares
Modified: 2015-09-28 15:35 UTC (History)
2 users (show)

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:

Description Ota Mares 2015-09-23 11:48:13 UTC
After updating the Xamarin Google Play Services - Maps from the stable version 25.0.0 to
the latest RC 26.0.0-rc4 we are getting following error that prevents us from
compiling the app:

ExtendedMapsRenderer.cs(41,41): Error CS0012: The type `Android.Gms.Maps.GoogleMap.IOnCameraChangeListener' is defined in an assembly that is not referenced. Consider adding a reference to assembly `Xamarin.GooglePlayServices.Maps, Version=, Culture=neutral, PublicKeyToken=null' (CS0012) (RebuyApp.Android)

Our project is based on Xamarin.Forms 1.5.0. The code affected by the issue is
a custom renderer (i omitted the class body): 

using System;
using Xamarin.Forms;
using RebuyApp.Common.Views;
using RebuyApp.Android.Renderers;
using Xamarin.Forms.Maps.Android;
using Android.Gms.Maps;
using System.Collections.Specialized;
using RebuyApp.Maps.Models;
using Android.Gms.Maps.Model;
using Android.App;
using Xamarin.Forms.Platform.Android;
using Xamarin.Forms.Maps;
using RebuyApp.Maps.Formatter;
using MapsPosition = Xamarin.Forms.Maps.Position;
using Android.Content;

[assembly: ExportRenderer(typeof(ExtendedMaps), typeof(ExtendedMapsRenderer))]
namespace RebuyApp.Android.Renderers
    public class ExtendedMapsRenderer : MapRenderer

Comment 1 Jon Dick 2015-09-28 15:35:31 UTC
This will be fixed in the stable release, thanks!