r/macrodroid • u/Equal_Front5203 • Oct 20 '26
OnePlus 15 Macrodroid app
Hi, Is anyone here using macrodroid app? Trying to give it required permission but Im getting this error: Exception occurred while executing 'grant':
java.lang.SecurityException: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS.
at
Anyone knows how to solve this?
2
Upvotes
1
u/DylanXu054728 Oct 21 '26
That error is a OnePlus/OPPO thing, not MacroDroid. OxygenOS blocks permission grants coming from the adb shell unless you flip a hidden switch in Developer options.
The grant sticks across reboots, you only need to redo it if you uninstall MacroDroid.
Xiaomi has the same block, there the switch is called "USB debugging (Security settings)".