LuckSiege.PictureSelector:picture_library在ViVo手机上报错
LuckSiege.PictureSelector:picture_library 在ViVo手机上报错
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxxx.xxxxxx/com.luck.picture.lib.PictureCustomCameraActivity}: android.view.InflateException: Binary XML file line #4: Binary XML file line #4: Error inflating class androidx.camera.view.CameraView
原因是 vivo手机不支持使用自定义相机
selectionModel.isUseCustomCamera(false); 设置为false