Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Thejas775 opened this issue Apr 7, 2024 · 0 comments
Open

Comments

@Thejas775
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant