can not find symbol class Builder

前端 未结 2 1017
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-20 15:10

I am using loginActivity in android.

ERROR

can not find symbol class Builder

I have also imported the file:

相关标签:
2条回答
  • 2020-12-20 15:56

    I solved in my project by downgrading play-services to:

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

    in dependencies in gradle file.

    0 讨论(0)
  • 2020-12-20 16:05

    It is not available because it is deprecated. Use GoogleApiClient instead.

    Start integrating Google+ : This is the official documentation for implementing Google+ client in your Android app for login and other requirements. Please follow this and not the auto-generated code from Android studio (until the code gets updated with newer implementation).

    P.S. The other answer suggests to use older version of PlusClient, which is a wrong approach. You should be using newer code Instead of using older play services.

    0 讨论(0)
提交回复
热议问题