在Android上打开相机应用时出错

时间:2014-08-19 14:09:50

标签: android camera runtime-error default

帮我修复原生Android相机应用。 当我尝试在Android上打开默认相机应用程序时我有错误。在catLog中,我看到下一个信息

08-19 16:16:36.080: I/ActivityManager(239): [AppLaunch] Displayed
com.android.camera/.Camera: +1s193ms
08-19 16:16:36.080: D/ActivityManager(239): AP_PROF:AppLaunch_LaunchTime:com.android.camera/.Camera:1193:11102958
08-19 16:16:36.083: V/ActivityManager(239): Activity idle: Token{41863dc8 ActivityRecord{42428e68 com.android.camera/.Camera}}
08-19 16:16:36.084: E/ActivityManager(239): mtprof entry can not found!
08-19 16:16:36.084: E/ActivityManager(239): java.io.FileNotFoundException: /proc/mtprof/status: open failed: ENOENT (No such file or directory)
08-19 16:16:36.084: E/ActivityManager(239):     at libcore.io.IoBridge.open(IoBridge.java:448)
08-19 16:16:36.084: E/ActivityManager(239):     at java.io.FileInputStream.<init>(FileInputStream.java:78)
08-19 16:16:36.084: E/ActivityManager(239):     at java.io.FileInputStream.<init>(FileInputStream.java:105)
08-19 16:16:36.084: E/ActivityManager(239):     at com.android.server.am.ActivityRecord.mtProf(ActivityRecord.java:852)
08-19 16:16:36.084: E/ActivityManager(239):     at com.android.server.am.ActivityRecord.windowsDrawn(ActivityRecord.java:653)
08-19 16:16:36.084: E/ActivityManager(239):     at com.android.server.am.ActivityRecord$Token.windowsDrawn(ActivityRecord.java:225)
08-19 16:16:36.084: E/ActivityManager(239):     at com.android.server.wm.WindowManagerService$H.handleMessage(WindowManagerService.java:6994)
08-19 16:16:36.084: E/ActivityManager(239):     at android.os.Handler.dispatchMessage(Handler.java:99)
08-19 16:16:36.084: E/ActivityManager(239):     at android.os.Looper.loop(Looper.java:154)
08-19 16:16:36.084: E/ActivityManager(239):     at com.android.server.wm.WindowManagerService$WMThread.run(WindowManagerService.java:754)
08-19 16:16:36.084: E/ActivityManager(239): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
08-19 16:16:36.084: E/ActivityManager(239):     at libcore.io.Posix.open(Native Method)
08-19 16:16:36.084: E/ActivityManager(239):     at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
08-19 16:16:36.084: E/ActivityManager(239):     at libcore.io.IoBridge.open(IoBridge.java:432)
08-19 16:16:36.084: E/ActivityManager(239):     ... 9 more
08-19 16:16:36.085: V/ActivityManager(239): Stopping ActivityRecord{422b72e8 com.android.launcher/com.android.launcher2.Launcher}: nowVisible=true waitingVisible=true finishing=false
08-19 16:16:36.085: I/InputDispatcher(239): channel '4225a2f8 Starting com.android.camera (server)' ~ abortBrokenDispatchCycle - notify=false

0 个答案:

没有答案