You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fatal Exception: java.lang.IllegalArgumentException: Opened camera does not support the selected focus_mode options.
at io.fotoapparat.parameter.provider.InitialParametersValidator.validateParameter(InitialParametersValidator.java:31)
at io.fotoapparat.parameter.provider.InitialParametersValidator.validate(InitialParametersValidator.java:24)
at io.fotoapparat.parameter.provider.InitialParametersProvider.initialParameters(InitialParametersProvider.java:52)
at io.fotoapparat.routine.StartCameraRoutine.run(StartCameraRoutine.java:41)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
I am getting this on 1.0.0, if it now fixed then I am sorry to bother you
The text was updated successfully, but these errors were encountered:
private void initCamera() {
if (!checkCameraHardware(getContext()) || isInitialised) return;
fotoapparat = Fotoapparat
.with(getContext())
.into(cameraView)
.photoSize(biggestSize())
.lensPosition(back())
.focusMode( firstAvailable( // (optional) use the first focus mode which is supported by device
continuousFocus(),
autoFocus(), // in case if continuous focus is not available on device, auto focus will be used
fixed()) // if even auto focus is not available - fixed focus mode will be used
)
.build();
isInitialised = true;
}
@Override
public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
initCamera();
}
Fatal Exception: java.lang.IllegalArgumentException: Opened camera does not support the selected focus_mode options.
at io.fotoapparat.parameter.provider.InitialParametersValidator.validateParameter(InitialParametersValidator.java:31)
at io.fotoapparat.parameter.provider.InitialParametersValidator.validate(InitialParametersValidator.java:24)
at io.fotoapparat.parameter.provider.InitialParametersProvider.initialParameters(InitialParametersProvider.java:52)
at io.fotoapparat.routine.StartCameraRoutine.run(StartCameraRoutine.java:41)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
I am getting this on 1.0.0, if it now fixed then I am sorry to bother you
The text was updated successfully, but these errors were encountered: