我无法将 com.google.android.gms.iid.InstanceID 导入到我的代码中是库问题还是我需要更新库,因为 instanceID 可用并且许多已经使用相同的实现。
最佳答案
我也有这个问题,结果是我有一个旧版本的 android sdk 工具。从开发者网站获取最新版本并再次安装 Google Play 服务库解决了该问题。
关于android-activity - 无法将 com.google.android.gms.iid.InstanceID 导入我的项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31130125/