title: " java.lang.IllegalArgumentException: No configs match configSpec " While opening Camera Intent
body: <p>This is my simple Camera Intent Demo in which i have only one Activity .....</p>
  
  <pre><code>package x.y;
  
  import android.app.Activity;
  import android.content.Intent;
  import android.graphics.Bitmap;
  import android.os.Bundle;
  import android.widget.ImageView;
  public class PhotoShoot extends Activity {
      final static int CAMERA_RESULT = 0;
      ImageView imv;
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
          Intent i = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
          startActivityForResult(i, CAMERA_RESULT);
      }
      protected void onActivityResult(int requestCode, int resultCode, Intent intent) {
          super.onActivityResult(requestCode, resultCode, intent);
          if (resultCode == RESULT_OK)
          {
              Bundle extras = intent.getExtras();
              Bitmap bmp = (Bitmap) extras.get("data");
              imv = (ImageView) findViewById(R.id.ReturnedImageView);
              imv.setImageBitmap(bmp);
          }
      }
  }
  </code></pre>
  
  <p>And Layout main.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical" android:layout_width="fill_parent"
      android:layout_height="fill_parent"&gt;
      &lt;ImageView 
          android:id="@+id/ReturnedImageView"
          android:layout_width="wrap_content" 
          android:layout_height="wrap_content"&gt;
      &lt;/ImageView&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Manifest ...</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="x.y"
        android:versionCode="1"
        android:versionName="1.0"&gt;
      &lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;
          &lt;activity android:name=".PhotoShoot"
                    android:label="@string/app_name"&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;/activity&gt;
      &lt;/application&gt;
  &lt;/manifest&gt; 
  </code></pre>
  
  <p>Throwing "Force close" <strong>after few seconds in Android emulator 2.2</strong> from starting of Camera intent with following Exception ... </p>
  
  <pre><code>07-06 15:26:00.999: ERROR/AndroidRuntime(544): FATAL EXCEPTION: GLThread 11
  07-06 15:26:00.999: ERROR/AndroidRuntime(544): java.lang.IllegalArgumentException: No configs match configSpec
  07-06 15:26:00.999: ERROR/AndroidRuntime(544): at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:760)
  07-06 15:26:00.999: ERROR/AndroidRuntime(544): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:916)
  07-06 15:26:00.999: ERROR/AndroidRuntime(544): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1246)
  07-06 15:26:00.999: ERROR/AndroidRuntime(544): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)
  </code></pre>
  
  <p>any idea?</p>