【发布时间】:2015-01-09 17:03:38
【问题描述】:
我正在尝试测试 LocationService 示例,如http://developer.android.com/training/location/retrieve-current.html 我陷入了与
非常相似的错误Can't Import com.google.android.gms.location.LocationServices
但我无法解决。
我安装了 Google Play 服务,其版本(在我的 Android SDK 管理器中)是 17。我知道最新版本是 19,但我无法从 SDK 管理器更新版本,我找不到这样做的任何选项.
在我的代码中:
import com.google.android.gms.location.LocationListener;
import com.google.android.gms.location.LocationRequest;
import com.google.android.gms.location.LocationServices;
前两个很好,第三个正在获取:
导入....无法解析
2015 年 12 月 1 日编辑
我正在使用 Eclipse。
【问题讨论】:
标签: android