title: setContentView error on Google Maps V2
body: <p>I'm try to add a map inside my android app. I Followed all necessary prerequisites. </p>
  
  <p>So I made a simple activity to test it out. </p>
  
  <pre><code>public class SpaineMapActivity extends Activity {
      static final LatLng HAMBURG = new LatLng(53.558, 9.927);
      private GoogleMap map;
  
      /** Called when the activity is first created. */
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
          map = ((MapFragment) getFragmentManager().findFragmentById(R.id.map))
                  .getMap();
          map.moveCamera(CameraUpdateFactory.newLatLngZoom(HAMBURG, 15));
          map.animateCamera(CameraUpdateFactory.zoomTo(10), 2000, null);
      }
  }
  </code></pre>
  
  <p>and with xml: </p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context=".MainActivity" &gt;
  
      &lt;fragment
          android:id="@+id/map"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          class="com.google.android.gms.maps.MapFragment" /&gt;
  
  &lt;/RelativeLayout&gt; 
  </code></pre>
  
  <p>It works fine. No problem. But when I try to integrate it to my other app with all libs loaded of course. But even just at the setContentView() part, I already get the error. Both layout are the same.</p>
  
  <pre><code>public class act_map extends FragmentActivity {
      static final LatLng HAMBURG = new LatLng(53.558, 9.927);
      private GoogleMap map;
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.lyt_map);
  
  
          map = ((MapFragment) getFragmentManager().findFragmentById(R.id.map))
          .getMap();
          map.moveCamera(CameraUpdateFactory.newLatLngZoom(HAMBURG, 15));
          map.animateCamera(CameraUpdateFactory.zoomTo(10), 2000, null);
      }
  }
  </code></pre>
  
  <p>I'm getting this error</p>
  
  <pre><code>02-21 19:19:25.650: E/AndroidRuntime(23097): java.lang.NoClassDefFoundError: com.google.android.gms.R$styleable
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at com.google.android.gms.maps.GoogleMapOptions.createFromAttributes(Unknown Source)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at com.google.android.gms.maps.SupportMapFragment.onInflate(Unknown Source)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:269)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:676)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at android.view.LayoutInflater.inflate(LayoutInflater.java:466)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:257)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at android.app.Activity.setContentView(Activity.java:1867)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at dev.foogle.act_map.onCreate(act_map.java:21)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at android.app.Activity.performCreate(Activity.java:5008)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2215)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at android.app.ActivityThread.access$600(ActivityThread.java:145)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1211)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at android.os.Handler.dispatchMessage(Handler.java:99)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at android.os.Looper.loop(Looper.java:137)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at android.app.ActivityThread.main(ActivityThread.java:4978)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at java.lang.reflect.Method.invokeNative(Native Method)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at java.lang.reflect.Method.invoke(Method.java:511)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
  02-21 19:19:25.650: E/AndroidRuntime(23097):    at dalvik.system.NativeStart.main(Native Method)
  </code></pre>