I have gone through all the solutions mentioned in stackoverflow.
Android ADT & SDK-Tools Version : 23.0.4 Google Play Services : version 20
- 'Google-play-services-lib' library project is imported into the workspace and add the library project to main project.
In 'Google-play-services-lib' library project, google-play-services.jars is in
'libs' folder and it is reflecting in Android-private dependencies.
In Main project, 'Google-play-services-lib' libraray project is added as library project from
right Click Properties --> Click Android --> add --> added the library project.
Note: All Clean and restart of eclipse is tried out.
Anyone have what's wrong with the dependencies. The google drive classes are not found and getting the following errors.
10-11 02:51:14.640: W/dalvikvm(22107): VFY: unable to resolve interface method 6146: Lcom/google/android/gms/drive/DriveFolder;.getDriveId ()Lcom/google/android/gms/drive/DriveId;
10-11 02:51:14.640: D/dalvikvm(22107): VFY: replacing opcode 0x72 at 0x000f
10-11 02:51:14.645: D/AndroidRuntime(22107): Shutting down VM
10-11 02:51:14.645: W/dalvikvm(22107): threadid=1: thread exiting with uncaught exception (group=0x415262a0)
10-11 02:51:14.650: E/AndroidRuntime(22107): FATAL EXCEPTION: main
10-11 02:51:14.650: E/AndroidRuntime(22107): java.lang.NoClassDefFoundError: com.google.android.gms.common.GooglePlayServicesUtil
10-11 02:51:14.650: E/AndroidRuntime(22107): at com.ss.watsappcomedypic.MainActivity.onCreate(MainActivity.java:23)
Console Error:
Dx bad class file magic (cafebabe) or version (0033.0000) ...while parsing com/google/android/gms/common/internal/safeparcel/a.class ...while processing com/google/android/gms/common/internal/safeparcel/a.class