Almost every Android "cleaning" app (such as SD Maid) includes the ability to delete all empty folders.
In operating systems such as Windows, this is generally not a good idea. Windows applications sometimes expect certain folders to be present; although they should handle a deleted folder gracefully, sometimes a deleted empty folder will result in a crash.
Given the number of Android cleaning apps that delete all empty folders, is the story different on Android? Is it safe for the user to delete all empty folders in Android?
- By "all empty folders", I refer to all empty folders inside /storage/emulated/0. Note that this does include /storage/emulated/0/Android/data/*.
- The folder /storage/emulated/0, and its subfolders, can be located on the internal memory of an Android device or on an external memory Card.
- If you can also provide an answer for all folders beginning at the root, that would be very useful, but is not required.
(Please, do not diverge answers into a "why would someone want to do that" discussion.)