Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I am not able to compile Instance id for Google Play Services

I am trying to add the Instance Id (last line)

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'
}

but I keep getting:

Error:Failed to resolve: com.google.android.gms.iid:7.5.0:

Any clue why?

like image 706
Sree Avatar asked Jul 06 '15 19:07

Sree


1 Answers

There is nothing like : 'com.google.android.gms.iid:7.5.0' provided by google play services

If you are looking for identity service then it should be :

com.google.android.gms:play-services-identity:7.5.0

Refer link : https://developers.google.com/android/guides/setup

like image 136
Eldhose M Babu Avatar answered Nov 15 '22 11:11

Eldhose M Babu