java.lang.IllegalStateException: Unable to create new file: /android_asset/Resources/sdcard/dcim/Camera/tia820582356.jpg

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Appcelerator JIRA by Thomas Huelbert, 1 year ago
Unable to create new file: /android_asset/Resources/sdcard/dcim/Camera/tia820582356.jpg
via Appcelerator JIRA by Thomas Huelbert, 1 year ago
Unable to create new file: /android_asset/Resources/sdcard/dcim/Camera/tia820582356.jpg
via GitHub by mattdh666
, 9 months ago
Unable to create new file: /file:/storage/emulated/0/DCIM/Camera/1406844802836.jpg
via Appcelerator JIRA by Thomas Huelbert, 1 year ago
Unable to create new file: /android_asset/Resources/sdcard/dcim/Camera/tia-1548357546.jpg
via Appcelerator JIRA by Thomas Huelbert, 1 year ago
Unable to create new file: /android_asset/Resources/sdcard/dcim/Camera/tia-1548357546.jpg
java.lang.IllegalStateException: Unable to create new file: /android_asset/Resources/sdcard/dcim/Camera/tia820582356.jpg
at com.android.providers.media.MediaProvider.ensureFile(MediaProvider.java:2153)
at com.android.providers.media.MediaProvider.insertFile(MediaProvider.java:2323)
at com.android.providers.media.MediaProvider.insertInternal(MediaProvider.java:2653)
at com.android.providers.media.MediaProvider.insert(MediaProvider.java:2227)
at android.content.ContentProvider$Transport.insert(ContentProvider.java:203)
at android.media.MediaScanner$MyMediaScannerClient.endFile(MediaScanner.java:786)
at android.media.MediaScanner$MyMediaScannerClient.doScanFile(MediaScanner.java:547)
at android.media.MediaScanner.scanSingleFile(MediaScanner.java:1180)
at com.android.providers.media.MediaScannerService.scanFile(MediaScannerService.java:193)
at com.android.providers.media.MediaScannerService.access$100(MediaScannerService.java:49)
at com.android.providers.media.MediaScannerService$ServiceHandler.handleMessage(MediaScannerService.java:237)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:126)
at com.android.providers.media.MediaScannerService.run(MediaScannerService.java:182)
at java.lang.Thread.run(Thread.java:1020)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.