The purpose of this guide is to provide you with step-by-step instructions on how to correct the error message “Exception occurred while executing grant”. There have been a lot of complaints from OnePlus, Oppo, and Vivo users about how whenever they attempt to execute a specific ADB command or more specifically the ADB shell command, they are greeted with the aforementioned error message, and the command does not execute.
In most cases, this usually happens when they are trying to grant system-level API access to a third-party application. The purpose of this guide is to help those of you who are experiencing this issue of “Exception occurred while executing grant” to get rid of this problem once and for all. So without further ado, let’s go ahead and check out how this issue can be fixed.
Fix Exception occurred while executing the grant
The only thing that you need to do to resolve this issue is to turn off the Permission Monitoring, or in more confusing terms, to enable the “Disable Permission Monitoring” setting. As an example of how this could be accomplished, here’s how it could be done:
Go to Settings > About Phone > Tap on the Build Number seven times as many times as you can.
Once you have done that, navigate to Settings > System > Developer Options.
Once you have enabled the toggle beside “Disable Permission Monitoring”, you are ready to proceed
As a final step, restart your device so that you can resolve the underlying issue.
There you have it. Here’s how to fix the “Exception occurred while executing grant” error. Feel free to ask questions about the aforementioned steps in the comments. Our team will get back to you as soon as possible.