标题说真的。我有一个在OSX上使用Xamarin Studio构建的项目,但是当我尝试使用xbuild从命令行构建它时失败了。我正在跑步
/Library/Frameworks/Mono.framework/Commands/xbuild /t:Build /p:Configuration=Release ../foo/foo.sln
构建应用程序,我收到的错误如下:
obj/Release/android/src/mono/com/google/android/gms/games/multiplayer/realtime/RoomStatusUpdateListenerImplementor.java(51,97): error : error: package com.google.android.gms.games.multiplayer.realtime does not exist
private native void n_onDisconnectedFromRoom (com.google.android.gms.games.multiplayer.realtime.Room p0);
和
obj/Release/android/src/mono/android/support/v7/internal/widget/ActivityChooserModel_OnChooseActivityListenerImplementor.java(8,58): javacerror : error: package android.support.v7.internal.widget.ActivityChooserModel does not exist
android.support.v7.internal.widget.ActivityChooserModel.OnChooseActivityListener
我将Xamarin更新为最新位(5.10.1)