For a few weeks, I had the problem that I couldn’t take screenshots on Android. This post shows how I managed to solve it.

The error was that every time I took a screenshot, a message like the following appeared:

Screenshot couldn't be saved: The app/your company doesn't allow this.

Google couldn’t help me, so I searched around myself using adb and found out that the folder /storage/emulated/0/Pictures/Screenshot belonged to root (uid 0).

The solution is very simple in this case: Root the phone and in the file manager, set the owner of the folder back to the original owner.

Note: I found this post in an archive of my old blogs and decided to republish it here