SMUsamaShah
SMUsamaShah

Reputation: 7880

Cannot resolve symbol 'gms'. Cannot import Google Play Services

I have tried everything given in other answers but still cannot import gms. Unlike other answers where error is in importing sub-classes of gms I am having trouble on gms itself.

This is the error I am getting Error

EDIT: even if written like this enter image description here

Added compile 'com.google.android.gms:play-services:8.4.0' Gradle

This is what I have installed in SDK SDK SDK External

This is the project structure enter image description here

What am I doing wrong here?

Upvotes: 1

Views: 3278

Answers (1)

akhil Rao
akhil Rao

Reputation: 1169

Try like this

import com.google.android.gms.location.*;

Upvotes: 2

Related Questions