Expo Client App Crashes on Camera.takePictureAsync()

I have just upgraded to expo SDK 38 from version 36, and now when running in the android emulator, the Expo Client app crashes whenever I try to take a photo with expo Camera using takePictureAsync()

ADB log shows this seems to be caused by a null pointer. It’s frustrating because I was able to successfully test with version 36. Does anyone know anything more or have a workaround?

08-06 18:03:13.113 31160 31417 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #11
08-06 18:03:13.113 31160 31417 E AndroidRuntime: Process: host.exp.exponent, PID: 31160
08-06 18:03:13.113 31160 31417 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()
08-06 18:03:13.113 31160 31417 E AndroidRuntime:        at android.os.AsyncTask$4.done(AsyncTask.java:415)
08-06 18:03:13.113 31160 31417 E AndroidRuntime:        at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
08-06 18:03:13.113 31160 31417 E AndroidRuntime:        at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
08-06 18:03:13.113 31160 31417 E AndroidRuntime:        at java.util.concurrent.FutureTask.run(FutureTask.java:271)
08-06 18:03:13.113 31160 31417 E AndroidRuntime:        at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
08-06 18:03:13.113 31160 31417 E AndroidRuntime:        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
08-06 18:03:13.113 31160 31417 E AndroidRuntime:        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
08-06 18:03:13.113 31160 31417 E AndroidRuntime:        at java.lang.Thread.run(Thread.java:923)
08-06 18:03:13.113 31160 31417 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to get length of null array
08-06 18:03:13.113 31160 31417 E AndroidRuntime:        at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:106)
08-06 18:03:13.113 31160 31417 E AndroidRuntime:        at abi38_0_0.expo.modules.camera.tasks.ResolveTakenPictureAsyncTask.doInBackground(ResolveTakenPictureAsyncTask.java:7)
08-06 18:03:13.113 31160 31417 E AndroidRuntime:        at abi38_0_0.expo.modules.camera.tasks.ResolveTakenPictureAsyncTask.d
08-06 18:03:13.120  2296 31424 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2