123
1.
04-11 17:45:30.721 21208 26191 E AndroidRuntime: FATAL EXCEPTION: pool-3-thread-1
04-11 17:45:30.721 21208 26191 E AndroidRuntime: Process: cn.nubia.flycow, PID: 21208
04-11 17:45:30.721 21208 26191 E AndroidRuntime: java.lang.RuntimeException: getParameters failed (empty parameters)
04-11 17:45:30.721 21208 26191 E AndroidRuntime: at android.hardware.Camera.native_getParameters(Native Method)
04-11 17:45:30.721 21208 26191 E AndroidRuntime: at android.hardware.Camera.getParameters(Camera.java:2078)
04-11 17:45:30.721 21208 26191 E AndroidRuntime: at cn.nubia.qrcode.ZBarScannerView$1.run(ZBarScannerView.java:88)
04-11 17:45:30.721 21208 26191 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
04-11 17:45:30.721 21208 26191 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
04-11 17:45:30.721 21208 26191 E AndroidRuntime: at java.lang.Thread.run(Thread.java:764)
java.lang.RuntimeException: getParameters failed (empty parameters)
2.onpreviewframe回调
https://www.jianshu.com/p/a33b1eabe71c?from=timeline&isappinstalled=0
3. liteHttp client = LiteHttp.build(null).create();
client.executeAsync(request);