[{"data":1,"prerenderedAt":777},["ShallowReactive",2],{"\u002Fsolve\u002Fcant-delete-files":3,"\u002Fsolve":476},{"id":4,"title":5,"body":6,"description":429,"extension":430,"meta":431,"navigation":471,"path":472,"seo":473,"stem":474,"__hash__":475},"solves\u002Fsolve\u002Fcant-delete-files.md","Can't Delete Files on Android? Here's How to Fix It",{"type":7,"value":8,"toc":415},"minimark",[9,14,18,21,25,32,37,50,53,59,63,68,73,85,89,113,119,123,128,132,150,156,162,166,179,184,197,200,206,210,223,227,238,244,248,253,258,278,282,300,304,309,320,324,344,348,380,384],[10,11,13],"h2",{"id":12},"why-files-wont-delete-on-android","Why Files Won't Delete on Android",[15,16,17],"p",{},"You tap delete, and nothing happens. Or you get an error: \"Operation not permitted,\" \"Cannot delete file,\" or \"Delete failed.\" This is one of the most frustrating Android experiences — you can see the file, but you can't remove it.",[15,19,20],{},"The good news: there's always a reason, and AnExplorer can solve almost every case. Here are the causes, from most common to least:",[10,22,24],{"id":23},"fix-1-grant-all-files-access-permission-most-common","Fix 1: Grant \"All Files Access\" Permission (Most Common)",[15,26,27,31],{},[28,29,30],"strong",{},"The problem:"," Android 11+ introduced Scoped Storage, which restricts what file managers can access. If your file manager doesn't have \"All files access,\" it can only delete files it created or files in specific folders.",[15,33,34],{},[28,35,36],{},"The fix:",[38,39,40,44,47],"ol",{},[41,42,43],"li",{},"Settings → Apps → AnExplorer (or your file manager)",[41,45,46],{},"Permissions → Storage",[41,48,49],{},"Select \"Allow management of all files\"",[15,51,52],{},"This single step fixes 70% of \"can't delete\" problems. Without this permission, the file manager literally doesn't have the system-level authority to delete files in most locations.",[15,54,55,58],{},[28,56,57],{},"Why this happens:"," Google added this restriction in Android 11 to prevent rogue apps from deleting your data. But it also blocks legitimate file managers unless you explicitly grant the permission.",[10,60,62],{"id":61},"fix-2-close-the-app-using-the-file","Fix 2: Close the App Using the File",[15,64,65,67],{},[28,66,30],{}," A file that's currently open or in use by another app can't be deleted. Android locks it to prevent data corruption.",[15,69,70],{},[28,71,72],{},"Symptoms:",[74,75,76,79,82],"ul",{},[41,77,78],{},"\"File is in use\" error",[41,80,81],{},"Delete appears to succeed but file reappears",[41,83,84],{},"\"Operation not permitted\" on media files",[15,86,87],{},[28,88,36],{},[38,90,91,99,102,110],{},[41,92,93,94,98],{},"Identify which app is using the file (check the folder name — e.g., files in ",[95,96,97],"code",{},"com.whatsapp"," are used by WhatsApp)",[41,100,101],{},"Close that app completely (swipe away from recent apps)",[41,103,104,105,109],{},"If still locked: Settings → Apps → ",[106,107,108],"span",{},"app name"," → Force stop",[41,111,112],{},"Try deleting again in AnExplorer",[15,114,115,118],{},[28,116,117],{},"Common culprits:"," Media players (lock video\u002Faudio files), gallery apps (lock photos), download managers (lock partially downloaded files), cloud sync apps (lock syncing files).",[10,120,122],{"id":121},"fix-3-sd-card-write-permission","Fix 3: SD Card Write Permission",[15,124,125,127],{},[28,126,30],{}," Android 11+ requires explicit permission to write to SD cards. Even with \"All files access,\" the SD card needs a separate SAF (Storage Access Framework) grant.",[15,129,130],{},[28,131,36],{},[38,133,134,137,144,147],{},[41,135,136],{},"Open AnExplorer → navigate to your SD card",[41,138,139,140,143],{},"Android shows a dialog: \"Allow AnExplorer to access ",[106,141,142],{},"SD card name","?\"",[41,145,146],{},"Tap \"Use this folder\" → Allow",[41,148,149],{},"Now you can delete, move, and rename files on the SD card",[15,151,152,155],{},[28,153,154],{},"Also check:"," Some SD cards have a physical write-protect switch (a tiny slider on the side). If it's in the \"lock\" position, no app can write to or delete from the card. Slide it to the unlocked position.",[15,157,158,161],{},[28,159,160],{},"SD card corruption:"," If the card is corrupted, files may appear undeletable. Try: Settings → Storage → SD card → Format (warning: erases all data).",[10,163,165],{"id":164},"fix-4-androiddata-and-androidobb-folders","Fix 4: Android\u002Fdata and Android\u002Fobb Folders",[15,167,168,170,171,174,175,178],{},[28,169,30],{}," Android 12+ completely blocks access to ",[95,172,173],{},"Android\u002Fdata\u002F"," and ",[95,176,177],{},"Android\u002Fobb\u002F"," for all apps. Even with \"All files access,\" these folders are restricted.",[15,180,181],{},[28,182,183],{},"The fix (AnExplorer's approach):",[38,185,186,189,192,194],{},[41,187,188],{},"Open AnExplorer → navigate to Internal Storage → Android → data",[41,190,191],{},"A system dialog appears: \"Allow AnExplorer to access this folder?\"",[41,193,146],{},[41,195,196],{},"Full read\u002Fwrite\u002Fdelete access granted via SAF",[15,198,199],{},"This is a one-time permission. Once granted, you can delete any file in Android\u002Fdata\u002F through AnExplorer.",[15,201,202,205],{},[28,203,204],{},"Why these folders are protected:"," They contain app-private data (game saves, app databases, cached content). Google restricted access to prevent apps from reading each other's private data. But you, as the device owner, can still grant access manually.",[10,207,209],{"id":208},"fix-5-system-files-root-required","Fix 5: System Files (Root Required)",[15,211,212,214,215,218,219,222],{},[28,213,30],{}," Files in ",[95,216,217],{},"\u002Fsystem\u002F",", ",[95,220,221],{},"\u002Fdata\u002Fdata\u002F",", and other system partitions are protected by Linux file permissions. No amount of Android permissions will let you delete them without root.",[15,224,225],{},[28,226,36],{},[38,228,229,232,235],{},[41,230,231],{},"Root your device (Magisk is the standard method)",[41,233,234],{},"Open AnExplorer Pro → enable Root mode in settings",[41,236,237],{},"Navigate to the system file → delete",[15,239,240,243],{},[28,241,242],{},"Warning:"," Deleting system files can brick your device. Only delete files you're certain are safe to remove (bloatware APKs, leftover system app data).",[10,245,247],{"id":246},"fix-6-files-that-keep-coming-back","Fix 6: Files That Keep Coming Back",[15,249,250,252],{},[28,251,30],{}," You delete a file, but it reappears minutes or hours later. Something is recreating it.",[15,254,255],{},[28,256,257],{},"Common causes:",[74,259,260,266,272],{},[41,261,262,265],{},[28,263,264],{},"Ad SDKs:"," Some apps create tracking\u002Fcache files that regenerate",[41,267,268,271],{},[28,269,270],{},"Cloud sync:"," A cloud app re-downloads the file from the server",[41,273,274,277],{},[28,275,276],{},"System processes:"," Android recreates certain cache directories automatically",[15,279,280],{},[28,281,36],{},[38,283,284,287,290,297],{},[41,285,286],{},"Note the file path and name",[41,288,289],{},"Identify which app creates it (the parent folder usually contains the app's package name)",[41,291,292,293,296],{},"Either uninstall that app, or clear its data: Settings → Apps → ",[106,294,295],{},"app"," → Storage → Clear data",[41,298,299],{},"For cloud sync: disable sync for that folder in the cloud app's settings",[10,301,303],{"id":302},"fix-7-read-only-file-system-error","Fix 7: \"Read-Only File System\" Error",[15,305,306,308],{},[28,307,30],{}," The storage is mounted as read-only. This happens with:",[74,310,311,314,317],{},[41,312,313],{},"Corrupted internal storage",[41,315,316],{},"USB drives with NTFS file system (read-only on Android without root)",[41,318,319],{},"System partitions",[15,321,322],{},[28,323,36],{},[74,325,326,332,338],{},[41,327,328,331],{},[28,329,330],{},"NTFS USB drives:"," Android can read NTFS but not write to it. Format the drive as exFAT (compatible with both Android and Windows\u002FMac) or use a root-enabled NTFS driver.",[41,333,334,337],{},[28,335,336],{},"Corrupted storage:"," Restart the phone. If persistent, back up data and factory reset.",[41,339,340,343],{},[28,341,342],{},"System partitions:"," Require root access (see Fix 5).",[10,345,347],{"id":346},"prevention-tips","Prevention Tips",[38,349,350,356,362,368,374],{},[41,351,352,355],{},[28,353,354],{},"Always grant \"All files access\""," to your file manager immediately after installation",[41,357,358,361],{},[28,359,360],{},"Grant SD card SAF permission"," the first time you access the card",[41,363,364,367],{},[28,365,366],{},"Close media apps"," before trying to delete their files",[41,369,370,373],{},[28,371,372],{},"Don't delete files in \u002Fsystem"," unless you know exactly what you're doing",[41,375,376,379],{},[28,377,378],{},"Use AnExplorer's Trash Bin"," — deleted files go to trash first, recoverable for 30 days",[10,381,383],{"id":382},"related-guides","Related Guides",[74,385,386,394,401,408],{},[41,387,388,393],{},[389,390,392],"a",{"href":391},"\u002Fsolve\u002Fstorage-full","Android Storage Full"," — free up space when storage is full",[41,395,396,400],{},[389,397,399],{"href":398},"\u002Fsolve\u002Fsd-card-not-showing","SD Card Not Showing"," — fix SD card detection issues",[41,402,403,407],{},[389,404,406],{"href":405},"\u002Fsolve\u002Faccess-hidden-files","Access Hidden Files"," — find and manage hidden files",[41,409,410,414],{},[389,411,413],{"href":412},"\u002Fsolve\u002Fmove-apps-to-sd-card","Move Files to SD Card"," — offload files to external storage",{"title":416,"searchDepth":417,"depth":417,"links":418},"",2,[419,420,421,422,423,424,425,426,427,428],{"id":12,"depth":417,"text":13},{"id":23,"depth":417,"text":24},{"id":61,"depth":417,"text":62},{"id":121,"depth":417,"text":122},{"id":164,"depth":417,"text":165},{"id":208,"depth":417,"text":209},{"id":246,"depth":417,"text":247},{"id":302,"depth":417,"text":303},{"id":346,"depth":417,"text":347},{"id":382,"depth":417,"text":383},"Fix 'cannot delete file' errors on Android. Solve permission issues, locked files, SD card write protection, and system-protected folders with AnExplorer.","md",{"faq":432,"howto":451},[433,436,439,442,445,448],{"q":434,"a":435},"Why can't I delete files on my Android phone?","Common causes: the file is in use by another app, you lack storage permissions, the SD card is write-protected, the file is in a system-protected folder (Android\u002Fdata), or the file manager doesn't have 'All files access' permission.",{"q":437,"a":438},"How do I delete files that say 'operation not permitted'?","Grant AnExplorer 'All files access': Settings → Apps → AnExplorer → Permissions → Storage → Allow management of all files. This resolves most permission errors.",{"q":440,"a":441},"Why can't I delete files from my SD card?","SD cards on Android 11+ require Storage Access Framework permission. In AnExplorer, navigate to the SD card → grant access when prompted. Also check if the physical write-protect switch on the SD card is locked.",{"q":443,"a":444},"How do I delete files in Android\u002Fdata folder?","Android 12+ restricts access to Android\u002Fdata\u002F. In AnExplorer, navigate to Android\u002Fdata → grant SAF access when the system dialog appears → then you can delete files normally.",{"q":446,"a":447},"Can I force delete a file that won't delete?","If a file is locked by another app, close that app first (or force stop it in Settings → Apps). If it's a system file, you need root access. AnExplorer Pro with root can delete any file on rooted devices.",{"q":449,"a":450},"Why do deleted files keep coming back?","An app is recreating the file (common with ad-related files and cache). Identify which app creates it (check the folder name), then either uninstall that app or clear its data.",{"name":452,"description":453,"totalTime":454,"steps":455},"How to Fix 'Cannot Delete File' on Android","Resolve file deletion errors on Android step by step.","PT3M",[456,459,462,465,468],{"name":457,"text":458},"Check file manager permissions","Settings → Apps → AnExplorer → Permissions → Storage → Allow management of all files. This is the most common fix.",{"name":460,"text":461},"Close apps using the file","If the file is 'in use', close the app that opened it. Force stop if needed: Settings → Apps → [app name] → Force stop.",{"name":463,"text":464},"Grant SD card access","For SD card files: navigate to the SD card in AnExplorer → grant SAF permission when prompted.",{"name":466,"text":467},"Grant Android\u002Fdata access","For files in Android\u002Fdata: navigate there in AnExplorer → tap 'Use this folder' → Allow when the system dialog appears.",{"name":469,"text":470},"Use root (last resort)","For system-protected files on rooted devices: enable root mode in AnExplorer Pro → navigate and delete.",true,"\u002Fsolve\u002Fcant-delete-files",{"title":5,"description":429},"solve\u002Fcant-delete-files","2ZBnxdmXCXHrwnPe_MC3fhHYcJffy_gquzalimf6Rlo",{"id":477,"title":478,"body":479,"description":764,"extension":430,"meta":765,"navigation":471,"path":773,"seo":774,"stem":775,"__hash__":776},"content\u002Fsolve.md","Fix Android File Problems, Storage Errors & Transfer Issues",{"type":7,"value":480,"toc":757},[481,484,488,637,641,671,675,705,709,723,727,737,747],[15,482,483],{},"Most Android file problems fall into a small number of categories. Find yours below.",[10,485,487],{"id":486},"storage-problems","Storage Problems",[74,489,490,495,502,507,514,521,528,535,540,547,553,560,567,574,581,588,595,602,609,616,623,630],{},[41,491,492,494],{},[389,493,392],{"href":391}," — find and delete large files, clear app caches, move to SD card",[41,496,497,501],{},[389,498,500],{"href":499},"\u002Fsolve\u002Fwhatsapp-storage","WhatsApp Storage Full"," — manage WhatsApp media, move to cloud or SD card",[41,503,504,506],{},[389,505,399],{"href":398}," — mount, format, or diagnose SD card issues",[41,508,509,513],{},[389,510,512],{"href":511},"\u002Fsolve\u002Fphotos-not-showing","Photos Not Showing in Gallery"," — find missing photos, fix .nomedia files, and restore gallery indexing",[41,515,516,520],{},[389,517,519],{"href":518},"\u002Fsolve\u002Fapp-not-installed-error","App Not Installed Error"," — fix APK installation failures on phones, TV, VR, and watches",[41,522,523,527],{},[389,524,526],{"href":525},"\u002Fsolve\u002Fslow-file-transfer","Slow File Transfer"," — speed up transfers between Android and PC\u002FNAS",[41,529,530,534],{},[389,531,533],{"href":532},"\u002Fsolve\u002Fandroid-not-connecting-pc","Android Not Connecting to PC"," — fix USB recognition issues or skip USB entirely with Wi-Fi",[41,536,537,539],{},[389,538,413],{"href":412}," — free up internal storage by moving photos, videos, and downloads to SD card",[41,541,542,546],{},[389,543,545],{"href":544},"\u002Fsolve\u002Frecover-deleted-files","Recover Deleted Files"," — restore accidentally deleted files from AnExplorer's Trash Bin",[41,548,549,552],{},[389,550,551],{"href":472},"Can't Delete Files"," — fix permission errors, locked files, and SD card write protection",[41,554,555,559],{},[389,556,558],{"href":557},"\u002Fsolve\u002Fclear-cache-android","Clear Cache on Android"," — free storage by clearing app cache safely",[41,561,562,566],{},[389,563,565],{"href":564},"\u002Fsolve\u002Fduplicate-files","Find & Delete Duplicate Files"," — identify and remove copies consuming storage",[41,568,569,573],{},[389,570,572],{"href":571},"\u002Fsolve\u002Fcorrupt-sd-card","Corrupt SD Card"," — repair file system errors, recover data, prevent future corruption",[41,575,576,580],{},[389,577,579],{"href":578},"\u002Fsolve\u002Fusb-otg-not-working","USB OTG Not Working"," — fix USB drive detection, read-only, and power issues",[41,582,583,587],{},[389,584,586],{"href":585},"\u002Fsolve\u002Fhow-to-zip-files","How to Create ZIP Files"," — compress files and folders on Android without a PC",[41,589,590,594],{},[389,591,593],{"href":592},"\u002Fsolve\u002Fandroid-permissions-files","Fix File Permission Errors"," — grant storage access on Android 11+",[41,596,597,601],{},[389,598,600],{"href":599},"\u002Fsolve\u002Fhide-files-android","Hide Files on Android"," — hide photos, videos, and folders from gallery and casual viewing",[41,603,604,608],{},[389,605,607],{"href":606},"\u002Fsolve\u002Ffind-large-files","Find Large Files"," — identify what's consuming storage and free gigabytes",[41,610,611,615],{},[389,612,614],{"href":613},"\u002Fsolve\u002Finternal-vs-external-storage","Android Storage Explained"," — internal vs SD card vs USB vs cloud",[41,617,618,622],{},[389,619,621],{"href":620},"\u002Fsolve\u002Fobb-data-folders","Android\u002Fobb and Android\u002Fdata"," — access restricted folders on Android 12+",[41,624,625,629],{},[389,626,628],{"href":627},"\u002Fsolve\u002Fencrypt-files-android","Encrypt Files on Android"," — password-protect files and secure transfer methods",[41,631,632,636],{},[389,633,635],{"href":634},"\u002Fsolve\u002Fbackup-phone-to-nas","Back Up Phone to NAS"," — complete wireless NAS backup guide",[10,638,640],{"id":639},"transfer-and-access-problems","Transfer and Access Problems",[74,642,643,650,657,664],{},[41,644,645,649],{},[389,646,648],{"href":647},"\u002Fsolve\u002Fcant-transfer-files","Can't Transfer Files"," — diagnosis for USB, Wi-Fi, and MTP transfer failures",[41,651,652,656],{},[389,653,655],{"href":654},"\u002Fsolve\u002Fcant-access-usb","Can't Access USB Drive"," — USB OTG, unsupported formats, permission issues",[41,658,659,663],{},[389,660,662],{"href":661},"\u002Fsolve\u002Faccess-file-on-tv","Access Files on TV"," — stream or copy from phone to Android TV or Fire TV",[41,665,666,670],{},[389,667,669],{"href":668},"\u002Fsolve\u002Ffind-downloaded-files","Find Downloaded Files"," — where Android saves browser downloads, APKs, and media",[10,672,674],{"id":673},"file-opening-problems","File Opening Problems",[74,676,677,684,691,698],{},[41,678,679,683],{},[389,680,682],{"href":681},"\u002Fsolve\u002Fopen-pdf-android","Open PDF on Android"," — open PDF files without Google Drive or extra apps",[41,685,686,690],{},[389,687,689],{"href":688},"\u002Fsolve\u002Fopen-zip-android","Open ZIP on Android"," — extract ZIP archives directly in AnExplorer",[41,692,693,697],{},[389,694,696],{"href":695},"\u002Fsolve\u002Fopen-rar-android","Open RAR on Android"," — extract RAR and RAR5 archives",[41,699,700,704],{},[389,701,703],{"href":702},"\u002Fsolve\u002Fopen-7z-android","Open 7Z on Android"," — extract 7-Zip archives",[10,706,708],{"id":707},"app-and-apk-problems","App and APK Problems",[74,710,711,718],{},[41,712,713,717],{},[389,714,716],{"href":715},"\u002Fsolve\u002Fbackup-apps-apk","Backup Apps as APK"," — export installed apps, share APKs",[41,719,720,722],{},[389,721,406],{"href":405}," — show dot files, system folders, and hidden directories",[10,724,726],{"id":725},"quick-diagnosis-tips","Quick Diagnosis Tips",[15,728,729,732,733,736],{},[28,730,731],{},"Phone says storage full but you can't find large files:","\nOpen AnExplorer → navigate to root or internal storage → enable ",[28,734,735],{},"Sort by size"," to surface the largest files and folders.",[15,738,739,742,743,746],{},[28,740,741],{},"Downloads not showing in Files app:","\nAnExplorer shows ",[95,744,745],{},"\u002Fsdcard\u002FDownload\u002F"," directly. Go to AnExplorer → Internal Storage → Download.",[15,748,749,752,753,756],{},[28,750,751],{},"SD card not visible:","\nCheck if the SD card appears in the AnExplorer sidebar under ",[28,754,755],{},"Storage",". If not, go to Android Settings → Storage → check if the card is mounted.",{"title":416,"searchDepth":417,"depth":417,"links":758},[759,760,761,762,763],{"id":486,"depth":417,"text":487},{"id":639,"depth":417,"text":640},{"id":673,"depth":417,"text":674},{"id":707,"depth":417,"text":708},{"id":725,"depth":417,"text":726},"Quick fixes for the most common Android file problems: storage full, can't find downloads, SD card not showing, USB not working, can't open files. Step-by-step with AnExplorer.",{"faq":766},[767,770],{"q":768,"a":769},"How does AnExplorer fix {target}?","This guide provides step-by-step instructions to troubleshoot and resolve the issue quickly using AnExplorer.",{"q":771,"a":772},"Are there other related fixes available?","Yes. The troubleshooting section connects you to related file, transfer, and device guides.","\u002Fsolve",{"title":478,"description":764},"solve","QxkmXnpnRgl1v1Idqs-pWks0-cHSJ_URbXdwtu8AfoI",1780644069929]