Scanner crashes on Android 6.0 after reading the barcode
LaxmikanthMadhyastha opened this issue · 2 comments
LaxmikanthMadhyastha commented
Thanks for this package,
I am trying out this package and it works as intended on most of the devices that I have checked, however, the scanner crashes immediately after reading the barcodes on devices with android version 6.0 and 6.0.1.
It works fine with android version 5 and also version above 6.
Log from the device
Click To Expand
I/CameraFramework(24082): Camera framework getParameters =3dnr-mode=on;3dnr-mode-values=on,off;afeng-max-focus-step=1023;afeng-min-focus-step=0;aflamp-mode=off;aflamp-mode-values=off,on,auto;antibanding=off;antibanding-values=off,50hz,60hz,auto;auto-exposure-lock-supported=true;auto-whitebalance-lock-supported=true;blink_support=ture;blink_support-values=ture,false;brightness=middle;brightness-values=low,middle,high;brightness_value=0;burst-num=1;cap-mode=normal;cap-mode-values=normal,face_beauty,continuousshot,smileshot,bestshot,autorama,asd;capfname=/sdcard/DCIM/cap00;contrast=middle;contrast-values=low,middle,high;cshot-indicator=true;cshot-indicator-supported=true;dynamic-frame-rate=true;dynamic-frame-rate-supported=true;edge=middle;edge-values=low,middle,high;effect=none;effect-values=none,mono,negative,sepia,aqua,whiteboard,blackboard,posterize,nashville,hefe,valencia,xproll,lofi,sierra,walden;eng-mfll-e=false;eng-mfll-s=true;eng-s-shad-t=0;eng-shad-t=0;exposure-compensation=0;exposure-compensation-step=1.0;face-beauty=false;face-beauty-supported=true;fb-enlarge-eye=0;fb-enlarge-eye-max=4;fb-enlarge-eye-min=-4;fb-extreme-beauty=true;fb-extreme-beauty-supported=false;fb-face-pos=-2000:-2000;fb-sharp=0;fb-sharp-max=12;fb-sharp-max-values=12;fb-sharp-min=-12;fb-sharp-min-values=-12;fb-skin-color=0;fb-skin-color-default=9;fb-skin-color-max=12;fb-skin-color-max-values=12;fb-skin-color-min=-12;fb-skin-color-min-values=-12;fb-slim-face=0;fb-slim-face-max=12;fb-slim-face-max-values=12;fb-slim-face-min=-12;fb-slim-face-min-values=-12;fb-smooth-level=0;fb-smooth-level-default=3;fb-smooth-level-max=12;fb-smooth-level-max-values=12;fb-smooth-level-min=-12;fb-smooth-level-min-values=-12;fb-touch-pos=-2000:-2000;feature-max-fps=24@VFB+EIS;first-preview-frame-black=0;flash-duty-max=1;flash-duty-min=0;flash-duty-value=-1;flash-mode=off;flash-mode-values=off,on,auto,red-eye,torch;flash-step-max=0;flash-step-min=0;flawless-limitfps-need=false;flawless-limitfps-need-values=ture,false;flawless-maxfps=30.0;flawless-maxfps-values=30.0;focal-length=3.68;focus-distances=0.95,1.9,Infinity;focus-fs-fi=0;focus-fs-fi-max=65535;focus-fs-fi-min=0;focus-mode=auto;focus-mode-values=auto,macro,infinity,continuous-picture,continuous-video,manual,fullscan;gesture-shot=false;gesture-shot-supported=true;gesture_support=ture;gesture_support-values=ture,false;horizontal-view-angle=62;hsvr-size-fps=640x480x120;hsvr-size-fps-values=640x480x120;hue=middle;hue-values=low,middle,high;iso-speed=auto;iso-speed-values=auto,100,200,400,800,1600;jpeg-quality=100;jpeg-thumbnail-height=128;jpeg-thumbnail-quality=100;jpeg-thumbnail-size-values=0x0,160x128,256x192;jpeg-thumbnail-width=160;m-sr-g=0;m-ss=0;max-exposure-compensation=3;max-num-detected-faces-hw=15;max-num-detected-faces-sw=0;max-num-focus-areas=1;max-num-metering-areas=9;max-num-ot=0;max-zoom=8;mbg_camera_mode =smart;mbg_camera_mode -values=hdr,night,smart,panorama,effect,B;mfb=off;mfb-values=off,mfll,ais;min-exposure-compensation=-3;mnr-e=0;mnr-s=true;mtk-123-shad-s=true;mtk-awb-s=true;mtk-cam-mode=0;mtk-shad-s=true;native-pip=false;native-pip-supported=true;picture-format=jpeg;picture-format-values=jpeg;picture-size=2560x1920;picture-size-values=320x240,640x480,1024x768,1280x720,1280x768,1280x960,1600x1200,1920x1088,2048x1536,2560x1440,2560x1920,2880x1728,3264x2448,3328x1872,3600x2160,4096x2304,4096x3072,4160x3120;pip-fps-zsd-off=30;pip-fps-zsd-on=15;preferred-preview-size-for-video=1920x1088;preview-format=yuv420sp;preview-format-values=yuv420sp,yuv420p,yuv420i-yyuvyy-3plane;preview-fps-range=5000,30000;preview-fps-range-values=(15000,15000),(20000,20000),(24000,24000),(30000,30000),(5000,30000),(60000,60000);preview-frame-rate=30;preview-frame-rate-values=5,10,20,15,20,24,30,30,60,120;preview-size=640x480;preview-size-values=176x144,320x240,352x288,480x320,480x368,640x480,720x480,800x480,864x480,800x600,960x540,1280x720,1440x1080,1600x1200,1920x1080,1920x1088;rotation=0;saturation=middle;saturation-values=low,middle,high;scene-mode=auto;scene-mode-values=auto,portrait,landscape,night,nigh
I/BufferQueue(24082): [unnamed-24082-1](this:0x7f874ab400,id:1,api:0,p:-1,c:-1) BufferQueue core=(24082:com.lenskart.hop)
D/BufferQueueDump(24082): [unnamed-24082-1] this:0x7f671c2640, value:0x7fcf616e0c, iLen:6
I/BufferQueueConsumer(24082): [unnamed-24082-1](this:0x7f874ab400,id:1,api:0,p:-1,c:24082) connect(C): consumer=(24082:com.lenskart.hop) controlledByApp=true
D/BufferQueueDump(24082): [unnamed-24082-1] this:0x7f671c2640, value:0x7fcf616e3c, iLen:6
I/BufferQueueConsumer(24082): [unnamed-24082-1](this:0x7f874ab400,id:1,api:0,p:-1,c:24082) setConsumerName: unnamed-24082-1
D/BufferQueueDump(24082): [ImageReader-640x480f23m5-24082-0] this:0x7f671c2640, value:0x7fcf616e9c, iLen:6
I/BufferQueueConsumer(24082): [ImageReader-640x480f23m5-24082-0](this:0x7f874ab400,id:1,api:0,p:-1,c:24082) setConsumerName: ImageReader-640x480f23m5-24082-0
I/BufferQueueConsumer(24082): [ImageReader-640x480f23m5-24082-0](this:0x7f874ab400,id:1,api:0,p:-1,c:24082) setDefaultBufferSize: width=640 height=480
I/BufferQueueConsumer(24082): [SurfaceTexture-0-24082-0](this:0x7f7627cc00,id:0,api:0,p:-1,c:24082) setDefaultBufferSize: width=480 height=368
I/cgr.qrmv.QrCameraC2(24082): Setting af mode to: 3
D/Surface (24082): Surface::setBuffersUserDimensions(this=0x7f8d224400,w=640,h=480)
D/Surface (24082): Surface::setBuffersUserDimensions(this=0x7f8d225200,w=480,h=368)
I/CameraDeviceState(24082): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0(24082): Configure outputs: 2 surfaces configured.
D/Camera (24082): app passed NULL surface
D/Camera-JNI(24082): (tid:24091)[release camera] - X context=0x0
D/Camera-JNI(24082): (tid:24091)[release camera] - X context=0x0
D/Camera-JNI(24082): (tid:24091)[release camera] - X context=0x0
I/CameraFramework(24082): Camera framework getParameters =3dnr-mode=on;3dnr-mode-values=on,off;afeng-max-focus-step=1023;afeng-min-focus-step=0;aflamp-mode=off;aflamp-mode-values=off,on,auto;antibanding=off;antibanding-values=off,50hz,60hz,auto;auto-exposure-lock-supported=true;auto-whitebalance-lock-supported=true;blink_support=ture;blink_support-values=ture,false;brightness=middle;brightness-values=low,middle,high;brightness_value=0;burst-num=1;cap-mode=normal;cap-mode-values=normal,face_beauty,continuousshot,smileshot,bestshot,autorama,asd;capfname=/sdcard/DCIM/cap00;contrast=middle;contrast-values=low,middle,high;cshot-indicator=true;cshot-indicator-supported=true;dynamic-frame-rate=true;dynamic-frame-rate-supported=true;edge=middle;edge-values=low,middle,high;effect=none;effect-values=none,mono,negative,sepia,aqua,whiteboard,blackboard,posterize,nashville,hefe,valencia,xproll,lofi,sierra,walden;eng-mfll-e=false;eng-mfll-s=true;eng-s-shad-t=0;eng-shad-t=0;exposure-compensation=0;exposure-compensation-step=1.0;face-beauty=false;face-beauty-supported=true;fb-enlarge-eye=0;fb-enlarge-eye-max=4;fb-enlarge-eye-min=-4;fb-extreme-beauty=true;fb-extreme-beauty-supported=false;fb-face-pos=-2000:-2000;fb-sharp=0;fb-sharp-max=12;fb-sharp-max-values=12;fb-sharp-min=-12;fb-sharp-min-values=-12;fb-skin-color=0;fb-skin-color-default=9;fb-skin-color-max=12;fb-skin-color-max-values=12;fb-skin-color-min=-12;fb-skin-color-min-values=-12;fb-slim-face=0;fb-slim-face-max=12;fb-slim-face-max-values=12;fb-slim-face-min=-12;fb-slim-face-min-values=-12;fb-smooth-level=0;fb-smooth-level-default=3;fb-smooth-level-max=12;fb-smooth-level-max-values=12;fb-smooth-level-min=-12;fb-smooth-level-min-values=-12;fb-touch-pos=-2000:-2000;feature-max-fps=24@VFB+EIS;first-preview-frame-black=0;flash-duty-max=1;flash-duty-min=0;flash-duty-value=-1;flash-mode=off;flash-mode-values=off,on,auto,red-eye,torch;flash-step-max=0;flash-step-min=0;flawless-limitfps-need=false;flawless-limitfps-need-values=ture,false;flawless-maxfps=30.0;flawless-maxfps-values=30.0;focal-length=3.68;focus-distances=0.95,1.9,Infinity;focus-fs-fi=0;focus-fs-fi-max=65535;focus-fs-fi-min=0;focus-mode=auto;focus-mode-values=auto,macro,infinity,continuous-picture,continuous-video,manual,fullscan;gesture-shot=false;gesture-shot-supported=true;gesture_support=ture;gesture_support-values=ture,false;horizontal-view-angle=62;hsvr-size-fps=640x480x120;hsvr-size-fps-values=640x480x120;hue=middle;hue-values=low,middle,high;iso-speed=auto;iso-speed-values=auto,100,200,400,800,1600;jpeg-quality=100;jpeg-thumbnail-height=128;jpeg-thumbnail-quality=100;jpeg-thumbnail-size-values=0x0,160x128,256x192;jpeg-thumbnail-width=160;m-sr-g=0;m-ss=0;max-exposure-compensation=3;max-num-detected-faces-hw=15;max-num-detected-faces-sw=0;max-num-focus-areas=1;max-num-metering-areas=9;max-num-ot=0;max-zoom=8;mbg_camera_mode =smart;mbg_camera_mode -values=hdr,night,smart,panorama,effect,B;mfb=off;mfb-values=off,mfll,ais;min-exposure-compensation=-3;mnr-e=0;mnr-s=true;mtk-123-shad-s=true;mtk-awb-s=true;mtk-cam-mode=0;mtk-shad-s=true;native-pip=false;native-pip-supported=true;picture-format=jpeg;picture-format-values=jpeg;picture-size=2560x1920;picture-size-values=320x240,640x480,1024x768,1280x720,1280x768,1280x960,1600x1200,1920x1088,2048x1536,2560x1440,2560x1920,2880x1728,3264x2448,3328x1872,3600x2160,4096x2304,4096x3072,4160x3120;pip-fps-zsd-off=30;pip-fps-zsd-on=15;preferred-preview-size-for-video=1920x1088;preview-format=yuv420sp;preview-format-values=yuv420sp,yuv420p,yuv420i-yyuvyy-3plane;preview-fps-range=5000,30000;preview-fps-range-values=(15000,15000),(20000,20000),(24000,24000),(30000,30000),(5000,30000),(60000,60000);preview-frame-rate=30;preview-frame-rate-values=5,10,20,15,20,24,30,30,60,120;preview-size=640x480;preview-size-values=176x144,320x240,352x288,480x320,480x368,640x480,720x480,800x480,864x480,800x600,960x540,1280x720,1440x1080,1600x1200,1920x1080,1920x1088;rotation=0;saturation=middle;saturation-values=low,middle,high;scene-mode=auto;scene-mode-values=auto,portrait,landscape,night,nigh
V/CameraFramework(24082): set Key = preview-fps-range, value = 60000,60000
V/CameraFramework(24082): set Key = preview-size, value = 640x480
D/SQLiteDatabase(24082): beginTransaction()
D/SQLiteDatabase(24082): endTransaction()
D/Surface (24082): Surface::connect(this=0x7f8d225200,api=1)
I/BufferQueueProducer(24082): [SurfaceTexture-0-24082-0](this:0x7f7627cc00,id:0,api:1,p:24082,c:24082) connect(P): api=1 producer=(24082:com.lenskart.hop) producerControlledByApp=true
W/libEGL (24082): [ANDROID_RECORDABLE] format: 2
D/mali_winsys(24082): new_window_surface returns 0x3000
I/BufferQueue(24082): [unnamed-24082-2](this:0x7f5b748400,id:2,api:0,p:-1,c:-1) BufferQueue core=(24082:com.lenskart.hop)
D/BufferQueueDump(24082): [unnamed-24082-2] this:0x7f6ddbb640, value:0x7f5add3a5c, iLen:6
I/BufferQueueConsumer(24082): [unnamed-24082-2](this:0x7f5b748400,id:2,api:0,p:-1,c:24082) connect(C): consumer=(24082:com.lenskart.hop) controlledByApp=true
D/BufferQueueDump(24082): [unnamed-24082-2] this:0x7f6ddbb640, value:0x7f5add3a7c, iLen:6
I/BufferQueueConsumer(24082): [unnamed-24082-2](this:0x7f5b748400,id:2,api:0,p:-1,c:24082) setConsumerName: unnamed-24082-2
D/BufferQueueDump(24082): [SurfaceTexture-1-24082-1] this:0x7f6ddbb640, value:0x7f5add3aec, iLen:6
I/BufferQueueConsumer(24082): [SurfaceTexture-1-24082-1](this:0x7f5b748400,id:2,api:0,p:-1,c:24082) setConsumerName: SurfaceTexture-1-24082-1
D/SQLiteDatabase(24082): beginTransaction()
D/SQLiteDatabase(24082): endTransaction()
I/CameraDeviceState(24082): Legacy camera service transitioning to state IDLE
I/RequestQueue(24082): Repeating capture request set.
V/CameraFramework(24082): set Key = antibanding, value = auto
W/LegacyRequestMapper(24082): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
W/LegacyRequestMapper(24082): Only received metering rectangles with weight 0.
V/CameraFramework(24082): set Key = metering-areas, value = (-1000,-1000,1000,1000,1)
W/LegacyRequestMapper(24082): Only received metering rectangles with weight 0.
V/CameraFramework(24082): set Key = focus-areas, value = (-1000,-1000,1000,1000,1)
V/CameraFramework(24082): set Key = preview-fps-range, value = 60000,60000
V/CameraFramework(24082): set Key = auto-exposure-lock, value = false
V/CameraFramework(24082): set Key = flash-mode, value = off
V/CameraFramework(24082): set Key = focus-mode, value = continuous-video
V/CameraFramework(24082): set Key = auto-whitebalance-lock, value = false
V/CameraFramework(24082): set Key = recording-hint, value = false
V/CameraFramework(24082): set Key = scene-mode, value = auto
V/CameraFramework(24082): set Key = effect, value = none
V/CameraFramework(24082): set Key = rotation, value = 0
I/BufferQueueConsumer(24082): [SurfaceTexture-1-24082-1](this:0x7f5b748400,id:2,api:0,p:-1,c:24082) setDefaultBufferSize: width=640 height=480
I/BufferQueueProducer(24082): [SurfaceTexture-1-24082-1](this:0x7f5b748400,id:2,api:4,p:302,c:24082) connect(P): api=4 producer=(302:???) producerControlledByApp=true
I/BufferQueueProducer(24082): [SurfaceTexture-1-24082-1](this:0x7f5b748400,id:2,api:4,p:302,c:24082) setBufferCount: count = 8
I/BufferQueueConsumer(24082): [SurfaceTexture-1-24082-1](this:0x7f5b748400,id:2,api:4,p:302,c:24082) getReleasedBuffers: returning mask 0xffffffffffffffff
I/BufferQueueProducer(24082): [SurfaceTexture-1-24082-1](this:0x7f5b748400,id:2,api:4,p:302,c:24082) new GraphicBuffer needed
I/[MALI][Gralloc](24082): [+]r_hnd(0x7f87663ea0), client(56), share_fd(99)
D/GraphicBuffer(24082): register, handle(0x7f87663ea0) (w:640 h:480 s:640 f:0x32315659 u:0x000133)
I/BufferQueueProducer(24082): [SurfaceTexture-1-24082-1](this:0x7f5b748400,id:2,api:4,p:302,c:24082) new GraphicBuffer needed
I/[MALI][Gralloc](24082): [+]r_hnd(0x7f5e4b8da0), client(56), share_fd(100)
D/GraphicBuffer(24082): register, handle(0x7f5e4b8da0) (w:640 h:480 s:640 f:0x32315659 u:0x000133)
I/BufferQueueProducer(24082): [SurfaceTexture-1-24082-1](this:0x7f5b748400,id:2,api:4,p:302,c:24082) new GraphicBuffer needed
I/[MALI][Gralloc](24082): [+]r_hnd(0x7f5e4b9160), client(56), share_fd(101)
D/GraphicBuffer(24082): register, handle(0x7f5e4b9160) (w:640 h:480 s:640 f:0x32315659 u:0x000133)
I/BufferQueueProducer(24082): [SurfaceTexture-1-24082-1](this:0x7f5b748400,id:2,api:4,p:302,c:24082) new GraphicBuffer needed
I/[MALI][Gralloc](24082): [+]r_hnd(0x7f5e4b9200), client(56), share_fd(102)
D/GraphicBuffer(24082): register, handle(0x7f5e4b9200) (w:640 h:480 s:640 f:0x32315659 u:0x000133)
I/BufferQueueProducer(24082): [SurfaceTexture-1-24082-1](this:0x7f5b748400,id:2,api:4,p:302,c:24082) new GraphicBuffer needed
I/[MALI][Gralloc](24082): [+]r_hnd(0x7f5e4b92a0), client(56), share_fd(103)
D/GraphicBuffer(24082): register, handle(0x7f5e4b92a0) (w:640 h:480 s:640 f:0x32315659 u:0x000133)
I/BufferQueueProducer(24082): [SurfaceTexture-1-24082-1](this:0x7f5b748400,id:2,api:4,p:302,c:24082) new GraphicBuffer needed
I/[MALI][Gralloc](24082): [+]r_hnd(0x7f69d7ab20), client(56), share_fd(104)
D/GraphicBuffer(24082): register, handle(0x7f69d7ab20) (w:640 h:480 s:640 f:0x32315659 u:0x000133)
I/NDOP (24082): listening using window listener
I/CameraFramework(24082): Camera framework getParameters =3dnr-mode=on;3dnr-mode-values=on,off;afeng-max-focus-step=1023;afeng-min-focus-step=0;aflamp-mode=off;aflamp-mode-values=off,on,auto;antibanding=auto;antibanding-values=off,50hz,60hz,auto;auto-exposure-lock=false;auto-exposure-lock-supported=true;auto-whitebalance-lock=false;auto-whitebalance-lock-supported=true;blink_support=ture;blink_support-values=ture,false;brightness=middle;brightness-values=low,middle,high;brightness_value=0;burst-num=1;cap-mode=normal;cap-mode-values=normal,face_beauty,continuousshot,smileshot,bestshot,autorama,asd;capfname=/sdcard/DCIM/cap00;contrast=middle;contrast-values=low,middle,high;cshot-indicator=true;cshot-indicator-supported=true;dynamic-frame-rate=true;dynamic-frame-rate-supported=true;edge=middle;edge-values=low,middle,high;effect=none;effect-values=none,mono,negative,sepia,aqua,whiteboard,blackboard,posterize,nashville,hefe,valencia,xproll,lofi,sierra,walden;eng-mfll-e=false;eng-mfll-s=true;eng-s-shad-t=0;eng-shad-t=0;exposure-compensation=0;exposure-compensation-step=1.0;face-beauty=false;face-beauty-supported=true;fb-enlarge-eye=0;fb-enlarge-eye-max=4;fb-enlarge-eye-min=-4;fb-extreme-beauty=true;fb-extreme-beauty-supported=false;fb-face-pos=-2000:-2000;fb-sharp=0;fb-sharp-max=12;fb-sharp-max-values=12;fb-sharp-min=-12;fb-sharp-min-values=-12;fb-skin-color=0;fb-skin-color-default=9;fb-skin-color-max=12;fb-skin-color-max-values=12;fb-skin-color-min=-12;fb-skin-color-min-values=-12;fb-slim-face=0;fb-slim-face-max=12;fb-slim-face-max-values=12;fb-slim-face-min=-12;fb-slim-face-min-values=-12;fb-smooth-level=0;fb-smooth-level-default=3;fb-smooth-level-max=12;fb-smooth-level-max-values=12;fb-smooth-level-min=-12;fb-smooth-level-min-values=-12;fb-touch-pos=-2000:-2000;feature-max-fps=24@VFB+EIS;first-preview-frame-black=0;flash-duty-max=1;flash-duty-min=0;flash-duty-value=-1;flash-mode=off;flash-mode-values=off,on,auto,red-eye,torch;flash-step-max=0;flash-step-min=0;flawless-limitfps-need=false;flawless-limitfps-need-values=ture,false;flawless-maxfps=30.0;flawless-maxfps-values=30.0;focal-length=3.68;focus-areas=(-1000,-1000,1000,1000,1);focus-distances=0.95,1.9,Infinity;focus-fs-fi=0;focus-fs-fi-max=65535;focus-fs-fi-min=0;focus-mode=continuous-video;focus-mode-values=auto,macro,infinity,continuous-picture,continuous-video,manual,fullscan;gesture-shot=false;gesture-shot-supported=true;gesture_support=ture;gesture_support-values=ture,false;horizontal-view-angle=62;hsvr-size-fps=640x480x120;hsvr-size-fps-values=640x480x120;hue=middle;hue-values=low,middle,high;iso-speed=auto;iso-speed-values=auto,100,200,400,800,1600;jpeg-quality=85;jpeg-thumbnail-height=128;jpeg-thumbnail-quality=85;jpeg-thumbnail-size-values=0x0,160x128,256x192;jpeg-thumbnail-width=160;m-sr-g=0;m-ss=0;max-exposure-compensation=3;max-num-detected-faces-hw=15;max-num-detected-faces-sw=0;max-num-focus-areas=1;max-num-metering-areas=9;max-num-ot=0;max-zoom=8;mbg_camera_mode =smart;mbg_camera_mode -values=hdr,night,smart,panorama,effect,B;metering-areas=(-1000,-1000,1000,1000,1);mfb=off;mfb-values=off,mfll,ais;min-exposure-compensation=-3;mnr-e=0;mnr-s=true;mtk-123-shad-s=true;mtk-awb-s=true;mtk-cam-mode=0;mtk-shad-s=true;native-pip=false;native-pip-supported=true;picture-format=jpeg;picture-format-values=jpeg;picture-size=2560x1920;picture-size-values=320x240,640x480,1024x768,1280x720,1280x768,1280x960,1600x1200,1920x1088,2048x1536,2560x1440,2560x1920,2880x1728,3264x2448,3328x1872,3600x2160,4096x2304,4096x3072,4160x3120;pip-fps-zsd-off=30;pip-fps-zsd-on=15;preferred-preview-size-for-video=1920x1088;preview-format=yuv420sp;preview-format-values=yuv420sp,yuv420p,yuv420i-yyuvyy-3plane;preview-fps-range=60000,60000;preview-fps-range-values=(15000,15000),(20000,20000),(24000,24000),(30000,30000),(5000,30000),(60000,60000);preview-frame-rate=30;preview-frame-rate-values=5,10,20,15,20,24,30,30,60,120;preview-size=640x480;preview-size-values=176x144,320x240,352x288,480x320,480x368,640x480,720x480,800x480,864x480,800x600,960x540,1280x720,1440x1080,1600x1200,1920x1
I/BufferQueueProducer(24082): [SurfaceTexture-1-24082-1](this:0x7f5b748400,id:2,api:4,p:302,c:24082) new GraphicBuffer needed
I/[MALI][Gralloc](24082): [+]r_hnd(0x7f7625bd40), client(56), share_fd(105)
D/GraphicBuffer(24082): register, handle(0x7f7625bd40) (w:640 h:480 s:640 f:0x32315659 u:0x000133)
I/CameraDeviceState(24082): Legacy camera service transitioning to state CAPTURING
D/Surface (24082): Surface::setBuffersUserDimensions(this=0x7f8d225200,w=480,h=368)
I/BufferQueueProducer(24082): [SurfaceTexture-0-24082-0](this:0x7f7627cc00,id:0,api:1,p:24082,c:24082) new GraphicBuffer needed
I/[MALI][Gralloc](24082): [+]r_hnd(0x7f5e4b86c0), client(56), share_fd(106)
D/GraphicBuffer(24082): register, handle(0x7f5e4b86c0) (w:480 h:368 s:480 f:0x2 u:0x000300)
I/BufferQueueProducer(24082): [SurfaceTexture-1-24082-1](this:0x7f5b748400,id:2,api:4,p:302,c:24082) new GraphicBuffer needed
I/[MALI][Gralloc](24082): [+]r_hnd(0x7f69d7abc0), client(56), share_fd(108)
D/GraphicBuffer(24082): register, handle(0x7f69d7abc0) (w:640 h:480 s:640 f:0x32315659 u:0x000133)
I/BufferQueueProducer(24082): [SurfaceTexture-1-24082-1](this:0x7f5b748400,id:2,api:4,p:302,c:24082) queueBuffer: slot 1 is dropped, handle=0x7f5e4b8da0
D/Surface (24082): Surface::setBuffersUserDimensions(this=0x7f8d224400,w=640,h=480)
W/BufferQueueProducer(24082): [ImageReader-640x480f23m5-24082-0](this:0x7f874ab400,id:1,api:0,p:-1,c:24082) dequeueBuffer() in a disconnected state
I/BufferQueueProducer(24082): [ImageReader-640x480f23m5-24082-0](this:0x7f874ab400,id:1,api:0,p:-1,c:24082) new GraphicBuffer needed
I/[MALI][Gralloc](24082): [+]r_hnd(0x7f69d7b5c0), client(56), share_fd(109)
D/GraphicBuffer(24082): register, handle(0x7f69d7b5c0) (w:640 h:480 s:640 f:0x23 u:0x000003)
I/GraphicBuffer(24082): create GraphicBuffer by ANativeWindowBuffer, handle(0x7f69d7b5c0) (w:640 h:480 s:640 f:0x23 u:0x000003) owner(0)
I/[MALI][Gralloc](24082): lock_ycbcr: videobuffer_status is invalid, use default value
W/BufferQueueProducer(24082): [ImageReader-640x480f23m5-24082-0](this:0x7f874ab400,id:1,api:0,p:-1,c:24082) queueBuffer() in a disconnected state
I/[MALI][Gralloc](24082): lock_ycbcr: videobuffer_status is invalid, use default value
I/GLConsumer(24082): [SurfaceTexture-0-24082-0] attachToContext
D/Surface (24082): Surface::setBuffersUserDimensions(this=0x7f8d225200,w=480,h=368)
I/BufferQueueProducer(24082): [SurfaceTexture-0-24082-0](this:0x7f7627cc00,id:0,api:1,p:24082,c:24082) new GraphicBuffer needed
I/[MALI][Gralloc](24082): [+]r_hnd(0x7f69d7b660), client(56), share_fd(110)
D/GraphicBuffer(24082): register, handle(0x7f69d7b660) (w:480 h:368 s:480 f:0x2 u:0x000300)
D/Surface (24082): Surface::setBuffersUserDimensions(this=0x7f8d224400,w=640,h=480)
W/BufferQueueProducer(24082): [ImageReader-640x480f23m5-24082-0](this:0x7f874ab400,id:1,api:0,p:-1,c:24082) dequeueBuffer() in a disconnected state
I/BufferQueueProducer(24082): [ImageReader-640x480f23m5-24082-0](this:0x7f874ab400,id:1,api:0,p:-1,c:24082) new GraphicBuffer needed
I/[MALI][Gralloc](24082): [+]r_hnd(0x7f69d7b700), client(56), share_fd(111)
D/GraphicBuffer(24082): register, handle(0x7f69d7b700) (w:640 h:480 s:640 f:0x23 u:0x000003)
I/GraphicBuffer(24082): create GraphicBuffer by ANativeWindowBuffer, handle(0x7f69d7b700) (w:640 h:480 s:640 f:0x23 u:0x000003) owner(0)
I/[MALI][Gralloc](24082): lock_ycbcr: videobuffer_status is invalid, use default value
I/BufferQueueProducer(24082): [SurfaceTexture-1-24082-1](this:0x7f5b748400,id:2,api:4,p:302,c:24082) queueBuffer: slot 5 is dropped, handle=0x7f69d7ab20
W/BufferQueueProducer(24082): [ImageReader-640x480f23m5-24082-0](this:0x7f874ab400,id:1,api:0,p:-1,c:24082) queueBuffer() in a disconnected state
D/Surface (24082): Surface::setBuffersUserDimensions(this=0x7f8d225200,w=480,h=368)
I/BufferQueueProducer(24082): [SurfaceTexture-0-24082-0](this:0x7f7627cc00,id:0,api:1,p:24082,c:24082) new GraphicBuffer needed
I/[MALI][Gralloc](24082): [+]r_hnd(0x7f69d7b7a0), client(56), share_fd(112)
D/GraphicBuffer(24082): register, handle(0x7f69d7b7a0) (w:480 h:368 s:480 f:0x2 u:0x000300)
I/BufferQueueProducer(24082): [SurfaceTexture-0-24082-0](this:0x7f7627cc00,id:0,api:1,p:24082,c:24082) queueBuffer: slot 1 is dropped, handle=0x7f69d7b660
D/Surface (24082): Surface::setBuffersUserDimensions(this=0x7f8d224400,w=640,h=480)
W/BufferQueueProducer(24082): [ImageReader-640x480f23m5-24082-0](this:0x7f874ab400,id:1,api:0,p:-1,c:24082) dequeueBuffer() in a disconnected state
I/BufferQueueProducer(24082): [ImageReader-640x480f23m5-24082-0](this:0x7f874ab400,id:1,api:0,p:-1,c:24082) new GraphicBuffer needed
I/[MALI][Gralloc](24082): [+]r_hnd(0x7f69d7b840), client(56), share_fd(115)
D/GraphicBuffer(24082): register, handle(0x7f69d7b840) (w:640 h:480 s:640 f:0x23 u:0x000003)
I/GraphicBuffer(24082): create GraphicBuffer by ANativeWindowBuffer, handle(0x7f69d7b840) (w:640 h:480 s:640 f:0x23 u:0x000003) owner(0)
I/[MALI][Gralloc](24082): lock_ycbcr: videobuffer_status is invalid, use default value
W/BufferQueueProducer(24082): [ImageReader-640x480f23m5-24082-0](this:0x7f874ab400,id:1,api:0,p:-1,c:24082) queueBuffer() in a disconnected state
Lost connection to device.
Exited
Flutter doctor
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, 1.20.0, on Mac OS X 10.15.7 19H2, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.50.1)
[!] Connected device
! No devices available
! Doctor found issues in 1 category.
~ flutter doctor -v
[✓] Flutter (Channel unknown, 1.20.0, on Mac OS X 10.15.7 19H2, locale en-IN)
• Flutter version 1.20.0 at /Users/lens/Desktop/flutter
• Framework revision 840c9205b3 (3 months ago), 2020-08-04 20:55:12 -0700
• Engine revision c8e3b94853
• Dart version 2.9.0
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/lens/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.5, Build version 11E608c
• CocoaPods version 1.9.3
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 49.0.2
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.50.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.15.0
[!] Connected device
! No devices available
LaxmikanthMadhyastha commented
UPDATE : I tried this pending merge request, it is working fine on both Android 6 and higher version.
ksdme commented
Bump