The method setJsonHttpRequestInitializer is undefined for the type Drive.Builder Android
问题 I am creating an application to working with Google Drive on Android. I've searched in internet for a few examples, but they all are the same. I'm getting the following error: Object Drive.Builder does not have method setJsonHttpRequestInitializer. I have tested with Google drive API V1 and V2 without luck. Where is the problem? Source: private Drive getDriveService(String accountName) { HttpTransport ht = AndroidHttp.newCompatibleTransport(); JacksonFactory jf = new JacksonFactory();