无法将com.google.android.gms.iid.InstanceID导入我的项目 [英] not able to import com.google.android.gms.iid.InstanceID into my project

查看:92
本文介绍了无法将com.google.android.gms.iid.InstanceID导入我的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法将com.google.android.gms.iid.InstanceID导入到我的代码中,这是库问题还是我需要更新库,因为instanceID可用并且许多实例都使用相同的ID来实现.

I'm not able to import com.google.android.gms.iid.InstanceID into my code is it a library problem or should i need to update the library, since instanceID is available and many have implemented using the same.

推荐答案

我也遇到了这个问题,最终导致我有一个较旧版本的android sdk工具.从开发者网站获取最新版本并安装Google Play服务库再次解决了该问题.

I had this issue as well, and it ended up being that I had an older version of the android sdk tools. Getting the newest version from the developer website and installing the Google Play Services library again solved the issue.

这篇关于无法将com.google.android.gms.iid.InstanceID导入我的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆