android - 迁移到 New Places SDK Client 找不到符号变量 PLACE_DETECTION_API

标签 android migration

我无法迁移我的 Android 脚本有错误无法解析符号“Geo_data_api” 这是我的完整代码。

package in.techware.lataxi.activity;


     mGoogleApiClient = new GoogleApiClient
                .Builder(this)
                .addApi(Places.GEO_DATA_API)
                .addApi(Places.PLACE_DETECTION_API)
                .enableAutoManage(this, this)
                .build();

这有什么问题吗?

最佳答案

The way you doing is deprecated You can see the latest migration from the link Migrating to the New Places SDK Client

关于android - 迁移到 New Places SDK Client 找不到符号变量 PLACE_DETECTION_API,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58987968/

相关文章:

android - ListFragment setRetainInstance (true);不起作用

android - 解析 JSON,数组中的数组 (Android)

c++ - 测量线程迁移的成本?

django 迁移无需迁移

ruby-on-rails - has_and_belongs_to_many 连接表的 Rails 迁移

python - 如何清除历史记录并从头开始运行所有迁移?

Android 媒体播放器异常在 10 秒后超时

android - 退出应用程序后按钮背景更改为默认

android - 使用 RecyclerView 实现水平日期滚动条

node.js - 运行批量迁移时,knex 迁移中使用的 ObjectionJS 模型报告 "relation does not exist"