GoogleApiClient.connect()' was expected to be of type interface but was found to be virtual

前端 未结 3 1911
南旧
南旧 2020-12-31 04:50

So I am connecting to the google api client like this.

        googleApiClient = new GoogleApiClient.Builder(context)
        .addApi(LocationServices.API)
          


        
3条回答
  •  轮回少年
    2020-12-31 05:13

          compile 'com.google.android.gms:play-services:7.8.+'
    compile 'com.google.android.gms:play-services-maps:7.8.+'
    

    Solved for me after 10+ hours!!

提交回复
热议问题