Plusclient.builder class cannot be resolved

I am new to android studio and I want to login using google signin credentials. I kept all required dependencies and compilesdkversion from 19.1.0. It shows the following error:

Error:(78, 31) error: cannot find symbol class Builder
Error:Execution failed for task ':app:compileDebugJava'. 
> Compilation failed; see the compiler error output for details.

      

Suggestion needed to solve this problem.

+3


source to share


3 answers


Because it is outdated. Also the code link is not updated in android studio. Use Google Api client. Refer here It works for me !!



+1


source


The class is PlusClient

deprecated (although you won't see a warning with a warning in Android Studio). I tried to use a parameter Create LoginActivity

in Android Studio to create a new activity and I got this error. What I did was change my version Google play services

from the current one, which was

compile 'com.google.android.gms:play-services:6.5.87'

      

as at the time of writing:



  compile 'com.google.android.gms:play-services:6.1.71'

      

and re-executed my project and it works. It is highly recommended that you use the GoogleApiClient

.Cheers class though.

+1


source


I think you didn't download Google Play Services unless you installed them from SDK Manager -> Advanced -> Google Play Services.

If the problem still exists, then

Step 5 Google+ Quick Start:

  1. Import the Google Play Services library project.

Select File> Import> Android> Existing Android Code to Workspace and click Next. Select Browse .... "Enter / extras / google / google_play_services /". Select google-play-services_lib. Click "Finish" to import.

Hope this helps you.

0


source







All Articles