我一直在努力實現谷歌在https://github.com/xamarin/monodroid-samples/tree/master/MapsAndLocationDemo_v2播放使用步驟服務和https://github.com/xamarin/monodroid-samples/tree/master/GooglePlayServices發揮使用Android SDK中17項服務如何實現谷歌在xamarin
android update project -p "path to project" -t 4
工作
螞蟻調試工作,更新project.properties,添加Api鍵
然而,在Mac上建立Xamarin工作室4.0.3得到this.using Xamarin安卓4.6。什麼包丟失。任何建議讚賞。我引用Mono.android,support.v4
/Users/TheCall/MapView/Components/googleplayservices-9.0/samples/GooglePlayServicesApp/GooglePlayServicesApp/obj/Debug/android/src/mono/com/google/android/gms/appstate/OnSignOutCompleteListenerImplementor.java(34,34):
Error: package com.google.android.gms.appstate does not exist
com.google.android.gms.appstate.OnSignOutCompleteListener (GooglePlayServicesApp)
注意,如果您需要在項目中添加一個組件,則需要在Xamarin獨立版本。 –