Android studio cannot resolve common character missing in android.gms package

I make a game where I use Google Play Services. I recently switched from eclipse to Android Studio (now it works 0.8.14). In the Android studio, I added “Google Play Services Activity,” and my game class expanded this class. I left the class of services unchanged. The project compiles and works very well, but the IDE is filled with errors because it "cannot allow the symbol" general "and" cannot allow games with symbols "

import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.GooglePlayServicesUtil;
import com.google.android.gms.common.api.GoogleApiClient;
import com.google.android.gms.games.Games;

Any ideas on why this is and how to fix it?

I tried to reimport my project after deleting all the .iml files and the .idea folder with no result.

[EDIT]

As requested, I add a screenshot of the errors:

Screenshot of the code window

[EDIT 2]

, , , .

enter image description here

, com.google.android.gms .

gradle, JDK 1.7 1.8 gradle. , , , .

+4
3

, . , , . (myProjectName!) , Android- .

: myProjectName! myProjectName . , .

+1

build.gradle

dependencies {
     compile 'com.google.android.gms:play-services:5.0.89'
}
+3

/ Google Play Android sdk, gradle.

( )
, .

0

All Articles