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
val outputOptions = ImageCapture.OutputFileOptions.Builder(
contentResolver,
MediaStore.Images.Media.INTERNAL_CONTENT_URI,
contentValues
).build()
Exception while executing runnable androidx.camera.core.impl.utils.executor.SequentialExecutor$1@dbeb2df (Ask Gemini)
java.lang.UnsupportedOperationException: Writing to internal storage is not supported.
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:172)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:140)
at android.content.ContentProviderProxy.insert(ContentProviderNative.java:481)
at android.content.ContentResolver.insert(ContentResolver.java:1848)
at androidx.camera.core.ImageSaver.copyTempFileToDestination(ImageSaver.java:225)
at androidx.camera.core.ImageSaver.lambda$run$0$androidx-camera-core-ImageSaver(ImageSaver.java:99)
at androidx.camera.core.ImageSaver$$ExternalSyntheticLambda2.run(Unknown Source:4)
at androidx.camera.core.impl.utils.executor.SequentialExecutor$1.run(SequentialExecutor.java:111)
at androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.workOnQueue(SequentialExecutor.java:231)
at androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.run(SequentialExecutor.java:173)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
The text was updated successfully, but these errors were encountered:
Change save collection Uri to internal storage
The text was updated successfully, but these errors were encountered: