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.
source to share
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.
source to share
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:
- 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.
source to share