Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobertApikyan/5d91a8fc660da5e2047999e36e5acc3e to your computer and use it in GitHub Desktop.
Save RobertApikyan/5d91a8fc660da5e2047999e36e5acc3e to your computer and use it in GitHub Desktop.
[+7416 ms] Performing Streamed Install
Success
[ +1 ms] executing: C:\seu\sw\androidSdk\platform-tools\adb.exe -s 94390b9ae974 shell echo -n ffe83020c88de9b70c983ca5fccf117960e885b1 > /data/local/tmp/sky.io.flutter.plugins.cameraexample.sha1
[ +51 ms] executing: C:\seu\sw\androidSdk\platform-tools\adb.exe -s 94390b9ae974 shell -x logcat -v time -t 1
[ +263 ms] --------- beginning of main
06-15 15:02:05.788 I/Finsky (28884): [2] VerifyInstallTask.aeR(7): VerifyApps: Verification complete: id=68, package_name=io.flutter.plugins.cameraexample
[ +5 ms] executing: C:\seu\sw\androidSdk\platform-tools\adb.exe -s 94390b9ae974 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true --ez start-paused true io.flutter.plugins.cameraexample/io.flutter.embedding.android.FlutterActivity
[ +160 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=io.flutter.plugins.cameraexample/io.flutter.embedding.android.FlutterActivity (has extras) }
[ ] Waiting for observatory port to be available...
[+1316 ms] Observatory URL on device: http://127.0.0.1:41307/MdjjzHOMWWI=/
[ ] executing: C:\seu\sw\androidSdk\platform-tools\adb.exe -s 94390b9ae974 forward tcp:0 tcp:41307
[ +26 ms] 61070
[ ] Forwarded host port 61070 to device port 41307 for Observatory
[ +4 ms] Caching compiled dill
[ +27 ms] Connecting to service protocol: http://127.0.0.1:61070/MdjjzHOMWWI=/
[ +259 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:61070/MdjjzHOMWWI=/.
[ +139 ms] DDS is listening at http://127.0.0.1:61073/Hc9rzxl43fc=/.
[ +43 ms] Successfully connected to service protocol: http://127.0.0.1:61070/MdjjzHOMWWI=/
[ +47 ms] DevFS: Creating new filesystem on the device (null)
[ +25 ms] DevFS: Created new filesystem on the device (file:///data/user/0/io.flutter.plugins.cameraexample/code_cache/exampleJOLZAV/example/)
[ +1 ms] Updating assets
Debug service listening on ws://127.0.0.1:61073/Hc9rzxl43fc=/ws
Syncing files to device 2201116PG...
[ +89 ms] <- reset
[ ] Compiling dart to kernel with 0 updated files
[ ] Processing bundle.
[ ] <- recompile package:camera_example/main.dart 364f08e7-334c-43c7-9ab3-9f530ec7a150
[ ] <- 364f08e7-334c-43c7-9ab3-9f530ec7a150
[ +1 ms] Bundle processing done.
[ +122 ms] Updating files.
[ ] DevFS: Sync finished
[ +1 ms] Synced 0.0MB.
[ +1 ms] <- accept
[ +3 ms] Connected to _flutterView/0x6f2195ae20.
[ +568 ms] I/CameraManagerGlobal(28889): Connecting to camera service
[ ] W/CameraManagerGlobal(28889): [soar.cts] ignore the status update of camera: 2
[ ] W/CameraManagerGlobal(28889): [soar.cts] ignore the status update of camera: 3
[ ] W/CameraManagerGlobal(28889): [soar.cts] ignore the status update of camera: 4
[ ] W/CameraManagerGlobal(28889): [soar.cts] ignore the status update of camera: 5
[ ] W/CameraManagerGlobal(28889): [soar.cts] ignore the status update of camera: 6
[ +1 ms] W/CameraManagerGlobal(28889): ignore the torch status update of camera: 2
[ ] W/CameraManagerGlobal(28889): ignore the torch status update of camera: 3
[ ] I/CameraMetadataJV(28889): setAppNameAndSensorId all [com.antutu:0,ssize,12032x9024,0,false]
[ ] I/CameraMetadataJV(28889): setAppNameAndSensorId all [com.antutu:1,ssize,4608x3456,0,false]
[ ] W/CameraManagerGlobal(28889): ignore the torch status update of camera: 4
[ ] W/CameraManagerGlobal(28889): ignore the torch status update of camera: 5
[+1245 ms] E/LB (28889): fail to open file: No such file or directory
[ +5 ms] I/s.cameraexampl(28889): ProcessProfilingInfo new_methods=1093 is saved saved_to_disk=1 resolve_classes_delay=8000
[+5893 ms] V/MiuiFrameworkFactory(28889): get AllImpl object = android.common.MiuiFrameworkFactoryImpl@82fe76
[ +2 ms] W/MirrorManager(28889): this model don't Support
[+14337 ms] D/FrameIndicator(28889): support status: 1 0x6eb42c2018 0x6eb42c24c4
[ ] D/FrameIndicator(28889): support status: 1 0x6eb42c2018 0x6eb42c24c4
[ +19 ms] D/CameraInjector(28889): notifyRF for API 2 : cameraRoleId = 0, active = true
[ ] D/CameraInjector(28889): notifyRF cameraId = 0, active ? true
[ +50 ms] E/CameraManagerGlobal(28889): Camera 4 is not available. Ignore physical camera status change
[ +10 ms] W/CameraManagerGlobal(28889): ignore the torch status update of camera: 2
[ +1 ms] W/CameraManagerGlobal(28889): ignore the torch status update of camera: 3
[ ] W/CameraManagerGlobal(28889): ignore the torch status update of camera: 4
[ ] W/CameraManagerGlobal(28889): ignore the torch status update of camera: 5
[ +48 ms] I/Camera (28889): startPreview
[ +3 ms] D/FrameIndicator(28889): support status: 1 0x6eb42c2018 0x6eb42c24c4
[ +373 ms] W/BpBinder(28889): Slow Binder: BpBinder transact took 240 ms, interface=android.hardware.camera2.ICameraDeviceUser, code=6 oneway=false
[ ] I/Camera (28889): CameraCaptureSession onConfigured
[ ] I/Camera (28889): Updating builder settings
[ ] D/Camera (28889): Updating builder with feature: ExposureLockFeature
[ ] D/Camera (28889): Updating builder with feature: ExposurePointFeature
[ +3 ms] D/Camera (28889): Updating builder with feature: ZoomLevelFeature
[ +6 ms] D/Camera (28889): Updating builder with feature: AutoFocusFeature
[ ] D/Camera (28889): Updating builder with feature: NoiseReductionFeature
[ ] I/Camera (28889): updateNoiseReduction | currentSetting: fast
[ ] D/Camera (28889): Updating builder with feature: FocusPointFeature
[ ] D/Camera (28889): Updating builder with feature: ResolutionFeature
[ ] D/Camera (28889): Updating builder with feature: SensorOrientationFeature
[ ] D/Camera (28889): Updating builder with feature: FlashFeature
[ ] D/Camera (28889): Updating builder with feature: ExposureOffsetFeature
[ ] D/Camera (28889): Updating builder with feature: FpsRangeFeature
[ ] I/Camera (28889): refreshPreviewCaptureSession
[ +596 ms] I/Camera (28889): open | onError
[ ] I/Camera (28889): close
[ ] I/Camera (28889): closeCaptureSession
[ +2 ms] E/CameraCaptureSession(28889): Session 0: Exception while stopping repeating:
[ ] E/CameraCaptureSession(28889): android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): The camera device has encountered a serious error
[ ] E/CameraCaptureSession(28889): at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2327)
[ ] E/CameraCaptureSession(28889): at android.hardware.camera2.impl.CameraDeviceImpl.stopRepeating(CameraDeviceImpl.java:1273)
[ ] E/CameraCaptureSession(28889): at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:579)
[ ] E/CameraCaptureSession(28889): at io.flutter.plugins.camera.Camera.closeCaptureSession(Camera.java:1169)
[ ] E/CameraCaptureSession(28889): at io.flutter.plugins.camera.Camera.close(Camera.java:1176)
[ ] E/CameraCaptureSession(28889): at io.flutter.plugins.camera.Camera$1.onError(Camera.java:358)
[ ] E/CameraCaptureSession(28889): at android.hardware.camera2.impl.CameraDeviceImpl.notifyError(CameraDeviceImpl.java:1725)
[ ] E/CameraCaptureSession(28889): at android.hardware.camera2.impl.CameraDeviceImpl.lambda$oDs27OTfKFfK18rUW2nQxxkPdV0(Unknown Source:0)
[ ] E/CameraCaptureSession(28889): at android.hardware.camera2.impl.-$$Lambda$CameraDeviceImpl$oDs27OTfKFfK18rUW2nQxxkPdV0.accept(Unknown Source:8)
[ ] E/CameraCaptureSession(28889): at com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke(PooledLambdaImpl.java:278)
[ ] E/CameraCaptureSession(28889): at com.android.internal.util.function.pooled.PooledLambdaImpl.invoke(PooledLambdaImpl.java:201)
[ ] E/CameraCaptureSession(28889): at com.android.internal.util.function.pooled.OmniFunction.run(OmniFunction.java:97)
[ ] E/CameraCaptureSession(28889): at android.os.Handler.handleCallback(Handler.java:938)
[ ] E/CameraCaptureSession(28889): at android.os.Handler.dispatchMessage(Handler.java:99)
[ ] E/CameraCaptureSession(28889): at android.os.Looper.loop(Looper.java:237)
[ ] E/CameraCaptureSession(28889): at android.os.HandlerThread.run(HandlerThread.java:67)
[ ] D/CameraInjector(28889): notifyRF for API 2 : cameraRoleId = 0, active = false
[ ] D/CameraInjector(28889): notifyRF cameraId = 0, active ? false
[ +812 ms] W/BpBinder(28889): Slow Binder: BpBinder transact took 810 ms, interface=android.hardware.camera2.ICameraDeviceUser, code=1 oneway=false
[ +854 ms] W/CameraManagerGlobal(28889): ignore the torch status update of camera: 5
[ +1 ms] W/CameraManagerGlobal(28889): [soar.cts] ignore the status update of camera: 5
[ +1 ms] W/CameraManagerGlobal(28889): ignore the torch status update of camera: 3
[ ] W/CameraManagerGlobal(28889): [soar.cts] ignore the status update of camera: 3
[ +4 ms] W/CameraManagerGlobal(28889): ignore the torch status update of camera: 2
[ ] W/CameraManagerGlobal(28889): [soar.cts] ignore the status update of camera: 2
[ ] W/CameraManagerGlobal(28889): ignore the torch status update of camera: 4
[ ] W/CameraManagerGlobal(28889): [soar.cts] ignore the status update of camera: 4
[ ] W/CameraManagerGlobal(28889): [soar.cts] ignore the status update of camera: 6
[ ] E/CameraManagerGlobal(28889): Camera 4 is not available. Ignore physical camera status change
[+3350 ms] D/DecorView[](28889): getWindowModeFromSystem windowmode is 1
[+1671 ms] D/DecorView[](28889): getWindowModeFromSystem windowmode is 1
[+10817 ms] E/MethodChannel#plugins.flutter.io/camera(28889): Failed to handle method call
[ ] E/MethodChannel#plugins.flutter.io/camera(28889): java.lang.NullPointerException: Attempt to invoke virtual method 'void android.media.ImageReader.setOnImageAvailableListener(android.media.ImageReader$OnImageAvailableListener, android.os.Handler)' on a null object reference
[ ] E/MethodChannel#plugins.flutter.io/camera(28889): at io.flutter.plugins.camera.Camera.takePicture(Camera.java:545)
[ ] E/MethodChannel#plugins.flutter.io/camera(28889): at io.flutter.plugins.camera.MethodCallHandlerImpl.onMethodCall(MethodCallHandlerImpl.java:109)
[ ] E/MethodChannel#plugins.flutter.io/camera(28889): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
[ ] E/MethodChannel#plugins.flutter.io/camera(28889): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
[ ] E/MethodChannel#plugins.flutter.io/camera(28889): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$DartMessenger(DartMessenger.java:319)
[ ] E/MethodChannel#plugins.flutter.io/camera(28889): at io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$AIEPqY6mWzaNK15HekX9bftoAXs.run(Unknown Source:12)
[ ] E/MethodChannel#plugins.flutter.io/camera(28889): at android.os.Handler.handleCallback(Handler.java:938)
[ ] E/MethodChannel#plugins.flutter.io/camera(28889): at android.os.Handler.dispatchMessage(Handler.java:99)
[ ] E/MethodChannel#plugins.flutter.io/camera(28889): at android.os.Looper.loop(Looper.java:237)
[ ] E/MethodChannel#plugins.flutter.io/camera(28889): at android.app.ActivityThread.main(ActivityThread.java:8163)
[ ] E/MethodChannel#plugins.flutter.io/camera(28889): at java.lang.reflect.Method.invoke(Native Method)
[ ] E/MethodChannel#plugins.flutter.io/camera(28889): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:656)
[ ] E/MethodChannel#plugins.flutter.io/camera(28889): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:972)
[ +32 ms] I/flutter (28889): Error: error
[ ] I/flutter (28889): Error Message: Attempt to invoke virtual method 'void android.media.ImageReader.setOnImageAvailableListener(android.media.ImageReader$OnImageAvailableListener, android.os.Handler)' on a null object reference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment