title: Could not find method com.google.android.gms.common.GooglePlayServicesUtil
body: <p>I know this question had already a lot of answer and fix...But nothing worked for me...</p>
  
  <p>I'm trying to add the push notification to my android apps. In order to do that, I use the "google-play-services_lib" and the "google-play-services.jar". I followed the tutorial provided by Google <a href="http://developer.android.com/google/play-services/setup.html">Setting Up Google Play Services</a> for Eclipse.</p>
  
  <p>What I did :</p>
  
  <ul>
  <li>Installing the Google play services with the SDK Manager in Eclipse</li>
  <li><p>Import an Existing Android Code into Workspace (/android-sdks/extras/google/google_play_services/libproject/google-play-services_lib), with the "Copy projects into workspace" checked...Based on what google suggested </p>
  
  <blockquote>
    <p>Note: You should be referencing a copy of the library that you copied to your development workspace—you should not reference the library directly from the Android SDK directory.</p>
  </blockquote></li>
  <li><p>Referencing the library into my project (Right Click -> Properties -> Android -> Library -> Add -> google-play-services_lib)</p></li>
  <li><p>Added a copy of the google-play-services.jar into my projetc libs folder.</p></li>
  <li><p>Adding the jar file to my build path...I had to uncheck the jar files under the Order and export tab to avoid the following error : </p>
  
  <blockquote>
    <p>[2014-07-14 09:41:56 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/google/android/gms/internal/a;<br>
    [2014-07-14 09:41:56 ] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/google/android/gms/internal/a;</p>
  </blockquote></li>
  <li><p>Added the following to my Manifest file :</p>
  
  <pre><code>&lt;meta-data android:name="com.google.android.gms.version"
  android:value="@integer/google_play_services_version" /&gt;
  </code></pre></li>
  <li><p>Creating the pro guard exception </p>
  
  <pre><code>-keep class * extends java.util.ListResourceBundle {
  protected Object[][] getContents();
  }
  
  -keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
   public static final *** NULL;
   }
  
   -keepnames @com.google.android.gms.common.annotation.KeepName class *
   -keepclassmembernames class * {
   @com.google.android.gms.common.annotation.KeepName *;
   }
  
   -keepnames class * implements android.os.Parcelable {
   public static final ** CREATOR;
   }
  </code></pre></li>
  </ul>
  
  <p>When i try to simply check if the device have the Google Play Service APK with the following </p>
  
  <pre><code>    GooglePlayServicesUtil.isGooglePlayServicesAvailable(this)
  </code></pre>
  
  <p>I always see this error : </p>
  
  <pre><code>Could not find method com.google.android.gms.common.GooglePlayServicesUtil.isGooglePlayServicesAvailable, referenced from method com.example.testpush.MainActivity.onCreate
  </code></pre>
  
  <p>And : </p>
  
  <pre><code>07-14 10:34:53.631: E/AndroidRuntime(421): FATAL EXCEPTION: main
  07-14 10:34:53.631: E/AndroidRuntime(421): java.lang.NoClassDefFoundError: com.google.android.gms.common.GooglePlayServicesUtil
  07-14 10:34:53.631: E/AndroidRuntime(421):  at com.example.testpush.MainActivity.onCreate(MainActivity.java:16)
  07-14 10:34:53.631: E/AndroidRuntime(421):  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
  07-14 10:34:53.631: E/AndroidRuntime(421):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
  07-14 10:34:53.631: E/AndroidRuntime(421):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
  07-14 10:34:53.631: E/AndroidRuntime(421):  at android.app.ActivityThread.access$1500(ActivityThread.java:117)
  07-14 10:34:53.631: E/AndroidRuntime(421):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
  07-14 10:34:53.631: E/AndroidRuntime(421):  at android.os.Handler.dispatchMessage(Handler.java:99)
  07-14 10:34:53.631: E/AndroidRuntime(421):  at android.os.Looper.loop(Looper.java:123)
  07-14 10:34:53.631: E/AndroidRuntime(421):  at android.app.ActivityThread.main(ActivityThread.java:3683)
  07-14 10:34:53.631: E/AndroidRuntime(421):  at java.lang.reflect.Method.invokeNative(Native Method)
  07-14 10:34:53.631: E/AndroidRuntime(421):  at java.lang.reflect.Method.invoke(Method.java:507)
  07-14 10:34:53.631: E/AndroidRuntime(421):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
  07-14 10:34:53.631: E/AndroidRuntime(421):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
  07-14 10:34:53.631: E/AndroidRuntime(421):  at dalvik.system.NativeStart.main(Native Method)
  </code></pre>
  
  <p>Am I missing something here????
  Thanks for any idea.</p>