Screen Capture permanent Permission

Every time you want to take a screenshot or capture your screen with Tasker you have to manually accept an Android system prompt. To avoid that you can run a one-time ADB command from your PC and allow Tasker forever!

Easy Way

Install the Tasker Permissions app and follow the prompts.

Hard Way (don't bother with this if you were able to do it the easy way)

  1. Setup ADB on your PC as described here.
  2. Use these commands:
    adb shell appops set PROJECT_MEDIA allow
    If you're on a mac write
    ./adb shell appops set PROJECT_MEDIA allow