Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

MapsAndLocationDemo_v3 (Google Play Services) build error

$
0
0

Hi,

We are trying to get the MapsAndLocationDemo_v3 Solution to Build. We added the Google Play Services Component (Right Click "Components" then "Get More Components". This loads the Xamarin Component Store and we select "Google Play Services"). If we then "Rebuild Solution" we get the following compilation error :-

mono.com.google.android.gms.games.multiplayer.realtime.RoomStatusUpdateListenerImplementor is not abstract and does not override abstract method onP2PDisconnected(java.lang.String) in com.google.android.gms.games.multiplayer.realtime.RoomStatusUpdateListener public class RoomStatusUpdateListenerImplementor

This is the configuration we are using :-

Xamarin.Android 4.8.00013 Google Play services rev. 10 Xamarin Google Play Services Component Windows 7 64 bit jdk1.7.0_25 Visual Studio 2010 Debug Build Configuration Android SDK Tools 22.0.5 Clean All, Rebuild All : Yes

So far we have :- Updated Xamarin.Android to the latest version Updated Google Play services to the latest version in the Android SDK Manager Installed the latest version of the JDK

We have also tried MapsAndLocationDemo_v2 which involved :- Installing Ant Setting the PATH Environment Variables for ANT_HOME, JAVA_HOME and ANDROID_HOME Compiling the google-play-services_lib using Ant However this would not Build either e.g. compilation error :-

'Android.Gms.Games.MultiPlayer.ParticipantEntityCreator' does not implement interface member 'Android.OS.IParcelableCreator.NewArray(int)'
C:\MapsAndLocationDemo_v2\GooglePlayServices\obj\Debug\generated\src\Android.Gms.Games.MultiPlayer.ParticipantEntityCreator.cs

On the plus side we have managed to successfully create a Google Maps v2 API Key using our Package Name and SHA-1 Fingerprint which goes in the AndroidManifest.xml

Anyone out there got any ideas why we cannot get the MapsAndLocationDemo_v3 Solution to Build ?

Many thanks


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>