2017-12-15 2 views

답변

1

은 중단 공식적 this reference page에 발표되었다 :

이 인터페이스는 사용되지 않습니다. Drive # get * Client() 메소드 중 하나가 인 Drive API에 대한 액세스 권한을 얻으십시오.

getDriveClient 같은 방법으로 대체 당신은 googledrive/android-demos에서 샘플 코드 데모를 볼 수 있습니다

private void initializeDriveClient(GoogleSignInAccount signInAccount) { 
     mDriveClient = Drive.getDriveClient(getApplicationContext(), signInAccount); 
     mDriveResourceClient = Drive.getDriveResourceClient(getApplicationContext(), signInAccount); 
     onDriveClientReady(); 
    } 

이 더 많은 정보를 위해 Drive API for Android을 확인합니다.