Android模拟器相机

时间:2012-02-24 16:49:18

标签: android camera android-camera

我无法让我的相机在我的模拟器上运行。我现在甚至都没有尝试与它互动。我启动模拟器,点击相机图标,它失败了...我现在要做的就是启动它&拍张照片”。模拟器运行平台2.2,目标名称:Google API。任何有关该主题的想法都将不胜感激!

这是它生成的堆栈:

    02-24 10:25:22.510: W/ActivityManager(61): Activity destroy timeout for HistoryRecord{44fa0718 com.android.camera/.Camera}
    02-24 10:25:24.856: I/ActivityManager(61): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera bnds=[5,242][115,360] }
    02-24 10:25:25.163: I/ActivityManager(61): Start proc com.android.camera for activity com.android.camera/.Camera: pid=904 uid=10032 gids={1006, 1015}
    02-24 10:25:25.483: I/WindowManager(61): Setting rotation to 1, animFlags=1
    02-24 10:25:25.493: I/ActivityManager(61): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=2 layout=34 uiMode=17 seq=30}
    02-24 10:25:26.133: D/CameraHardwareStub(33): initHeapLocked: preview size=320x240
    02-24 10:25:26.203: D/Camera(904): app passed NULL surface
    02-24 10:25:26.223: D/CameraHardwareStub(33): initHeapLocked: preview size=320x240
    02-24 10:25:26.223: V/camera(904): startPreview
    02-24 10:25:26.323: I/ActivityManager(61): Displayed activity com.android.camera/.Camera: 1173 ms (total 1173 ms)
    02-24 10:25:26.843: D/qemud(37): fdhandler_accept_event: accepting on fd 10
    02-24 10:25:26.843: D/qemud(37): created client 0x17fe8 listening on fd 15
    02-24 10:25:26.883: D/qemud(37): client_fd_receive: attempting registration for service 'sensors'
    02-24 10:25:26.883: D/qemud(37): client_fd_receive:    -> received channel id 63
    02-24 10:25:26.893: D/qemud(37): client_registration: registration succeeded for client 63
    02-24 10:25:26.903: D/qemud(37): fdhandler_event: disconnect on fd 15
    02-24 10:25:26.903: D/qemud(37): fdhandler_accept_event: accepting on fd 10
    02-24 10:25:26.903: D/qemud(37): created client 0x17fe8 listening on fd 15
    02-24 10:25:26.953: D/qemud(37): client_fd_receive: attempting registration for service 'sensors'
    02-24 10:25:26.953: D/qemud(37): client_fd_receive:    -> received channel id 64
    02-24 10:25:26.963: D/qemud(37): client_registration: registration succeeded for client 64
    02-24 10:25:26.973: D/qemud(37): fdhandler_event: disconnect on fd 15
    02-24 10:25:26.973: D/qemud(37): fdhandler_accept_event: accepting on fd 10
    02-24 10:25:26.973: D/qemud(37): created client 0x17fe8 listening on fd 15
    02-24 10:25:27.003: D/qemud(37): client_fd_receive: attempting registration for service 'sensors'
    02-24 10:25:27.003: D/qemud(37): client_fd_receive:    -> received channel id 65
    02-24 10:25:27.013: D/qemud(37): client_registration: registration succeeded for         client 65
    02-24 10:25:27.023: D/qemud(37): fdhandler_event: disconnect on fd 15
    02-24 10:25:27.023: D/qemud(37): fdhandler_accept_event: accepting on fd 10
    02-24 10:25:27.023: D/qemud(37): created client 0x17fe8 listening on fd 15
    02-24 10:25:27.063: D/qemud(37): client_fd_receive: attempting registration for service 'sensors'
    02-24 10:25:27.063: D/qemud(37): client_fd_receive:    -> received channel id 66
    02-24 10:25:27.073: D/qemud(37): client_registration: registration succeeded for client 66
    02-24 10:25:27.084: D/qemud(37): fdhandler_event: disconnect on fd 15
    02-24 10:25:28.234: D/dalvikvm(904): GC_EXTERNAL_ALLOC freed 2017 objects / 130280 bytes in 598ms
    02-24 10:25:29.413: D/dalvikvm(61): GC_EXPLICIT freed 1134 objects / 70864 bytes in 583ms
    02-24 10:25:30.003: D/libEGL(904): egl.cfg not found, using default config
    02-24 10:25:30.003: D/libEGL(904): loaded /system/lib/egl/libGLES_android.so
    02-24 10:25:30.033: W/dalvikvm(904): threadid=9: thread exiting with uncaught exception (group=0x4001d800)
    02-24 10:25:30.143: E/AndroidRuntime(904): FATAL EXCEPTION: GLThread 11
    02-24 10:25:30.143: E/AndroidRuntime(904): java.lang.IllegalArgumentException: No configs match configSpec
    02-24 10:25:30.143: E/AndroidRuntime(904):  at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:760)
    02-24 10:25:30.143: E/AndroidRuntime(904):  at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:916)
    02-24 10:25:30.143: E/AndroidRuntime(904):  at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1246)
    02-24 10:25:30.143: E/AndroidRuntime(904):  at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)
    02-24 10:25:30.223: W/ActivityManager(61):   Force finishing activity com.android.camera/.Camera
    02-24 10:25:30.363: I/WindowManager(61): Setting rotation to 0, animFlags=1
    02-24 10:25:30.683: I/ActivityManager(61): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=34 uiMode=17 seq=31}
    02-24 10:25:30.863: W/ActivityManager(61): Activity pause timeout for HistoryRecord{450b31c8 com.android.camera/.Camera}
    02-24 10:25:32.123: V/camera(904): stopPreview
    02-24 10:25:33.833: D/dalvikvm(61): GC_EXPLICIT freed 958 objects / 53464 bytes in 147ms

0 个答案:

没有答案