android - GoogleApiClient.ConnectionCallbacks error compile time -
should use google drive bat can't compile activity
package com.google.android.gms.drive.sample.demo; import android.app.activity; import android.content.intent; import android.content.intentsender.sendintentexception; import android.os.bundle; import android.util.log; import android.widget.toast; /** * abstract activity handles authorization , connection drive * services. */ public abstract class basedemoactivity extends activity implements googleapiclient.connectioncallbacks, googleapiclient.onconnectionfailedlistener { ... i use google plugin eclipse install library , google apis since compile error
googleapiclient cannot resolved type
follow google+ platform quickstart android in order install google play services library project.
in particular see step 5:
5. import google play services library project. select file > import > android > existing android code workspace , click next. select browse.... enter <android-sdk-folder>/extras/google/google_play_services/. select google-play-services_lib. click finish import.
Comments
Post a Comment