我一直在努力实现谷歌在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独立版本。 –