GooglePlayeServices.Places 版本 60 中缺少 PlaceAutocomplete.IntentBuilder
Missing PlaceAutocomplete.IntentBuilder from GooglePlayeServices.Places version 60
我正在用 c# 使用 visual studio 编写一个 android 应用程序。
我正在使用 Places 来实现自动完成功能。
我刚刚将 Xamarin.GooglePlayServices NuGet 更新为最新版本 60.1142.0,现在
var intent = new PlaceAutocomplete.IntentBuilder(PlaceAutocomplete.ModeFullscreen)
.SetFilter(autocompleteFilter)
.Build(this);
不再编译:
IntentBuilder "Error CS0426: The type name 'IntentBuilder' does not exist in the type 'PlaceAutocomplete'"
我可以理解 api 被改变了,但是如何。甚至文档都引用了这段旧代码。
TY
Xamarin.GooglePlayServices.Place
v60.1142.0 package/nuget 已损坏。
包中捆绑的 Java classes 是正确的并且确实有 PlaceAutocomplete.IntentBuilder
class:
com/google/android/gms/location/places/ui/PlaceAutocomplete$IntentBuilder.class
但是 C# 绑定没有公开它,缺少 Metadata.xml
转换:
<attr path="/api/package[@name='com.google.android.gms.location.places.ui']/class[@name='PlaceAutocomplete.IntentBuilder']" name="extends">java.lang.Object</attr>
回复:GooglePlayServicesComponents places Transforms Metadata.xml
我上周从源代码构建来为某人修复它,甚至没有查看 bugzilla.xamarin.com 看它是否被报告过。
我正在用 c# 使用 visual studio 编写一个 android 应用程序。 我正在使用 Places 来实现自动完成功能。 我刚刚将 Xamarin.GooglePlayServices NuGet 更新为最新版本 60.1142.0,现在
var intent = new PlaceAutocomplete.IntentBuilder(PlaceAutocomplete.ModeFullscreen)
.SetFilter(autocompleteFilter)
.Build(this);
不再编译:
IntentBuilder "Error CS0426: The type name 'IntentBuilder' does not exist in the type 'PlaceAutocomplete'"
我可以理解 api 被改变了,但是如何。甚至文档都引用了这段旧代码。
TY
Xamarin.GooglePlayServices.Place
v60.1142.0 package/nuget 已损坏。
包中捆绑的 Java classes 是正确的并且确实有 PlaceAutocomplete.IntentBuilder
class:
com/google/android/gms/location/places/ui/PlaceAutocomplete$IntentBuilder.class
但是 C# 绑定没有公开它,缺少 Metadata.xml
转换:
<attr path="/api/package[@name='com.google.android.gms.location.places.ui']/class[@name='PlaceAutocomplete.IntentBuilder']" name="extends">java.lang.Object</attr>
回复:GooglePlayServicesComponents places Transforms Metadata.xml
我上周从源代码构建来为某人修复它,甚至没有查看 bugzilla.xamarin.com 看它是否被报告过。