I believe that you did not include the google-api-client-1.18.0-rc.jar , which is why you get the exception.
Once you download and unzip the Drive API library , read drive/readme.html . He listed the dependent jars for google-api-services-drive-v2-rev123-1.18.0-rc.jar that he needed to enable. Dependent banks may be located in the drive/libs folder.
Below is a complete set of banners that must be included in the Android application:
- Google-API-Services-disk-v2-rev123-1.18.0-rc.jar
- Google-api-client-1.18.0-rc.jar
- Google-OAuth-client-1.18.0-rc.jar
- Google-client-client-1.18.0-rc.jar
- jsr305-1.3.9.jar
- Google-client-client-gson-1.18.0-rc.jar
- Google-api-client-android-1.18.0-rc.jar
- Google-http-client-android-1.18.0-rc.jar
Manish mulimani
source share