我怎样才能让PlaceAutocompleteFragment
解决?如何解决`PlaceAutocompleteFragment`问题?
嗨,大家好,我试图使用新PlaceAutocompleteFragment
。我尝试使用以下代码:
<fragment
android:id="@+id/place_autocomplete_fragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:name="com.google.android.gms.location.places.ui.PlaceAutocompleteFragment"
/>
此代码示例仅为副本。它是从这个site。但在我的情况下,PlaceAutocompleteFragment
尚未解决。我该如何解决这个问题?我认为解决方案一定非常简单。不过,我一直在寻找相当一段时间。
这是无处在谷歌文档。谢谢。 – Matteo
现在它已发散成'编译“com.google.android.gms:发挥服务-地方:9.4.0'' –
雅,你必须更新,带“classpath主要应用gradle这个“com.google.gms:谷歌-Services:3.0.0 ''” –