sekhar

Results 9 comments of sekhar

Im getting this same crash on Nexus 6P. Is it possible for the library to not throw the exception (resulting in app crash) but report to client that initialization failed...

Im just using the default options and only for taking a picture (no video). I can try reducing the quality/size.

That fixes the issue. Thanks @natario1 for very quick response. Is there anything I can do on the client side to adjust this based on device ?

yeah, the `setPreviewStreamSize(SizeSelectors.smallest())` fixes the issue too. So, should I just check for a particular device (Nexus 6p in this case) & add the line `setPreviewStreamSize(SizeSelectors.smallest())` ?

1000 works best, can we calculate this runtime instead of hard coding it ?

Im asking about run time calculation because this crash might occur on other devices right ? I noticed that other people posted about this crash in the top.

Do you know what configuration would this be ? ( What needs to be changed). Would be helpful to know to work with my admin on this. Thanks On Tue,...

Changing the java version on the JenkinsVM fixed it. Initial java versions: Local - openJDK version "11.0.11" 2021-04-20 OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9) OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build...