Sre*_*ree 5 android google-play-services android-studio
我想添加实例ID(最后一行)
dependencies {
//Basic Google libs
compile 'com.android.support:support-v4:+'
compile 'com.android.support:appcompat-v7:22.2.0'
compile 'com.google.android.gms:play-services-base:7.5.0'
compile 'com.google.android.gms:play-services-gcm:7.5.0'
compile 'com.google.android.gms:play-services-location:7.5.0'
compile 'com.google.android.gms:play-services-maps:7.5.0'
compile 'com.google.android.gms:play-services-wallet:7.5.0'
compile 'com.google.android.gms.iid:7.5.0'
}
Run Code Online (Sandbox Code Playgroud)
但我一直在:
错误:无法解决:com.google.android.gms.iid:7.5.0:
有什么线索的原因?
没有什么比:谷歌播放服务提供的'com.google.android.gms.iid:7.5.0'
如果您正在寻找身份服务,那么它应该是:
com.google.android.gms:play-services-identity:7.5.0
Run Code Online (Sandbox Code Playgroud)
请参阅链接:https://developers.google.com/android/guides/setup
小智 5
不确定版本7.5但是对于10.0.1只是使用
compile 'com.google.android.gms:play-services-iid:10.0.1'
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
2872 次 |
最近记录: |