All other imports are OK.
Only
com.google.android.gms.common.GooglePlayServicesAvailabilityException;
cannot be resolved.
I have imported google services lib and made my project reference it.
All other imports are OK.
Only
com.google.android.gms.common.GooglePlayServicesAvailabilityException;
cannot be resolved.
I have imported google services lib and made my project reference it.
Add googleplayservices lib that is inside your SDK. Go to:
Here you will find Google Play Services library. If not then add it. Install it just like you install versions of Android in ADT (Android Developer Tools).
They have changed it to
GooglePlayServicesRepairableException
@Nullable
public static AdvertisingIdClient.Info getAdvertisingIdInfo(Context var0) throws IOException, IllegalStateException, GooglePlayServicesNotAvailableException, GooglePlayServicesRepairableException {
Scroll this and check.
GooglePlayServicesAvailabilityException was available in play-services-auth . But Not Anymore