saki4510t/UVCCamera

Permission pop-up giving illegal agruement exception in TargetSdk>27

Thejas775 opened this issue · 0 comments

I was trying develop an application with targetSkd>27 as I want to publish to play store.
I have a activity that calls the following in the onCreate
mUVCCameraView = findViewById(R.id.textureview);
mUVCCameraView.setCallback(this);
mCameraHelper = UVCCameraHelper.getInstance();
mCameraHelper.setDefaultFrameFormat(UVCCameraHelper.FRAME_FORMAT_MJPEG);
mCameraHelper.initUSBMonitor(this, mUVCCameraView, listener);
Irrespective of I have connected the USB Camera or not, igt gives the IllegalArugmentException even when I open the activity.
Any solutions?