title: Cannot Instantiate Any Google Play Services XML Widgets
body: <p>So I'm trying to enhance my Android application by adding various Google Play Services to it.  I imported the latest library as it says on the Google Developer page and can use any of the functions and objects within the java portion.  But, my problem is when I try to reference that same library in the xml.  Each time I get:</p>
  
  <p>"The following classes could not be instantiated:
  - com.google.android.gms.common.SignInButton"</p>
  
  <p>The error log:
  "com.google.android.gms.common.SignInButton failed to instantiate.
  java.lang.VerifyError: Expecting a stackmap frame at branch target 15"</p>
  
  <p>Each time I run it, Eclipse crashes and it says the VM has stopped (GC Overhead limit). I've tried downgrading the Java, using different libraries externally, ect.</p>
  
  <p>Manifest.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.me.wikiplay"
  android:versionCode="3"
  android:versionName="1.0.2" &gt;
  
  &lt;uses-sdk
      android:minSdkVersion="14"
      android:targetSdkVersion="20" /&gt;
  
  &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  
  &lt;application
      android:allowBackup="true"
      android:icon="@drawable/title_bar_logo"
      android:label="@string/app_name"
      android:theme="@style/AppTheme" &gt;
      &lt;activity
          android:name="com.me.wikiplay.MainActivity"
          android:label="@string/app_name"
          android:screenOrientation="portrait" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
  
          &lt;meta-data
              android:name="com.google.android.gms.version"
              android:value="@integer/google_play_services_version" /&gt;
      &lt;/activity&gt;
  &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>XML Layout File</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical" &gt;
  
  &lt;com.google.android.gms.common.SignInButton
      android:id="@+id/sign_in_button"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content" /&gt;
  
  &lt;!-- sign-out button --&gt;
  
  &lt;Button
      android:id="@+id/sign_out_button"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="Sign Out"
      android:visibility="gone" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Does anyone know what the deal is?  Is there anything I am doing wrong or need to change to get this to work?</p>