Flutter Example Camera在物理设备上启动时崩溃

时间:2019-03-04 03:18:04

标签: flutter

我尝试运行Flutter Example Camera应用程序,该应用程序立即崩溃。我所做的唯一更改是将gradle中的minSDK更新为26,以实现电话兼容性(moto e5播放)。以下是logcat的摘要。

03-03 18:47:26.365  2056 30357 D ACDB-LOADER: ACDB -> 
ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE
03-03 18:47:26.365  2056 30357 D         : Failed to fetch the lookup information of the device 0000003E 
03-03 18:47:26.365  2056 30357 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
03-03 18:47:26.365  2056 30357 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
03-03 18:47:26.365  2056 30357 D         : Failed to fetch the lookup information of the device 0000003E 
03-03 18:47:26.365  2056 30357 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL
03-03 18:47:26.365  2056 30357 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 62 path = 1
03-03 18:47:26.365  2056 30357 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
03-03 18:47:26.365  2056 30357 D audio_hw_primary: enable_snd_device: snd_device(117: voice-rec-mic)
03-03 18:47:26.369  2056 30357 D audio_hw_primary: enable_audio_route: usecase(9) apply and update mixer path: audio-record
03-03 18:47:26.369  2056 30357 V msm8974_platform: platform_get_backend_index:napb: backend port - 5 device - 117 
03-03 18:47:26.369  2056 30357 I audio_hw_utils: Set Audio Stream Capture 0 App Type Cfg: app_type 69936 (DEFAULT), acdb_dev_id 62, sample_rate 48000
03-03 18:47:26.440 23703 23747 I MicroDetectionWorker: onReady
03-03 18:47:26.761   572   572 D SurfaceFlinger: Backpressure trigger, skipping transaction & refresh!
03-03 18:47:26.828  3971  4158 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
03-03 18:47:26.828  3971  4158 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
03-03 18:47:26.894   572   572 D SurfaceFlinger: Backpressure trigger, skipping transaction & refresh!
03-03 18:47:28.419  2085  2176 I ThermalEngine: Thermal-Server: Thermal received msg from  override
03-03 18:47:28.419   528 30360 I Thermal-Lib: Thermal-Lib-Client: Client request sent
03-03 18:47:28.419  2085  2176 I ThermalEngine: Thermal-Server: Thermal received msg from  override
03-03 18:47:31.278   572   572 I SFPerfTracer:      triggers: (rate: 10:1146) (compose: 0:8) (post: 0:6) (render: 0:17) (35:18043 frames) (36:24278)
03-03 18:47:31.278   572   572 D SFPerfTracer:        layers: (6:9) (StatusBar#0 (0xb0044000): 0:8602) (com.android.systemui.ImageWallpaper#0 (0xafe73000): 1:464) (NavigationBar#0 (0xb003f000): 13:1326) (DimLayerController/Stack=0#0 (0xaffaf000): 0:682) (com.motorola.launcher3/com.android.launcher3.CustomizationPanelLauncher#0 (0xb0037000): 33:198)* (com.motorola.launcher3/com.android.launcher3.CustomizationPanelLauncher#1 (0xb0042000): 4:141) (Splash Screen io.flutter.plugins.cameraexample#0 (0xaffa6000): 0:23)- (animation background stackId=1#0 (0xaffc7000): 0:2)* (Application Error: io.flutter.plugins.cameraexample#0 (0xaffca000): 0:13) 
03-03 18:47:31.293  3521  7305 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:612>: EGL_BAD_ATTRIBUTE
03-03 18:47:31.408  3353  3353 W StaticLayout: maxLineHeight should not be -1.  maxLines:1 lineCount:1
03-03 18:47:31.408  3353  3353 W StaticLayout: maxLineHeight should not be -1.  maxLines:1 lineCount:1
03-03 18:47:31.917  3719  5054 I Places  : Converted 0 out of 39 WiFi scans
03-03 18:47:31.946  3719 29799 I PlaceInferenceEngine: No beacon scan available - ignoring candidates.
03-03 18:47:31.954  3719 29975 I GCoreUlr: Successfully inserted 1 locations
03-03 18:47:32.079  3719 29799 I PlaceInferenceEngine: No beacon scan available - ignoring candidates.
03-03 18:47:32.154  2432  2447 I zygote  : Background concurrent copying GC freed 96032(5MB) AllocSpace objects, 38(792KB) LOS objects, 42% free, 17MB/30MB, paused 667us total 245.115ms
03-03 18:47:32.775  2432  2455 I ActivityManager: Killing 28532:com.android.documentsui/u0a45 (adj 906): empty #17
03-03 18:47:32.855  2432  3282 D WifiNative-wlan0: Scan issued for specific freq..
03-03 18:47:35.165   572   835 I SFPerfTracer:      triggers: (rate: 1:24) (5607 sw vsyncs) (0 skipped) (27:20119 vsyncs) (29:30517)
03-03 18:47:35.228  2432  3402 W AppOps  : Finishing op nesting under-run: uid 10068 pkg com.motorola.actions code 24 time=0 duration=0 nesting=0
03-03 18:47:35.238  2432  3402 W AppOps  : Finishing op nesting under-run: uid 10068 pkg com.motorola.actions code 24 time=0 duration=0 nesting=0
03-03 18:47:35.246  2432  3443 W ActivityManager:   Force finishing activity io.flutter.plugins.cameraexample/.MainActivity
03-03 18:47:35.268  2432  3443 I ActivityManager: Killing 30328:io.flutter.plugins.cameraexample/u0a153 (adj 900): crash

0 个答案:

没有答案