【发布时间】:2016-05-30 04:07:32
【问题描述】:
我想在我的应用程序中实现 PlaceAutocompleteFragment based on the docs, 但是当我添加这个 sn-p 时
<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"
/>
最后一行抛出“无法解析符号‘PlaceAutocompleteFragment’。”这是为什么呢?
【问题讨论】:
-
检查这个实现truiton.com/2015/04/…
-
你添加
compile 'com.google.android.gms:play-services-location:8.4.0'了吗?
标签: android autocomplete