In Android SDK and AVD Manager, I created a new android virtual device as following:
- Name: myavd
- Target: Android 2.2 - API Level 8.
- SD Card: 50MiB.
- Build-in: Default (HVGA).
- Hardware: Abstracted LCD density 160.
After starting this device, I can't take a picture from build-in camera. The following is the error and exception.
The application Camera (process com.android.camera) has stopped unexpectedly. Please try again.
08-18 15:00:47.940: ERROR/AndroidRuntime(289): FATAL EXCEPTION: GLThread 11 08-18 15:00:47.940: ERROR/AndroidRuntime(289): java.lang.IllegalArgumentException: No configs match configSpec 08-18 15:00:47.940: ERROR/AndroidRuntime(289): at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:760) 08-18 15:00:47.940: ERROR/AndroidRuntime(289): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:916) 08-18 15:00:47.940: ERROR/AndroidRuntime(289): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1246) 08-18 15:00:47.940: ERROR/AndroidRuntime(289): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116) 08-18 15:00:48.369: WARN/ActivityManager(66): Force finishing activity com.android.camera/.Camera
Do you know what is wrong ?