Installation did not succeed. The application could not be installed: INSTALL_FAILED_USER_RESTRICTED

When we write our first run Android applications on our phones (that is, the physical device) may report the following error:

Session ‘app’: Installation did not succeed.
The application could not be installed: INSTALL_FAILED_USER_RESTRICTED

Here Insert Picture Description
Shown above installation program fails because the user access is not enough.
Word restricted: restricted
at this time, I have developer options turned on, and the windows system and android studio has been able to recognize my device, but still reported such a mistake.

Solution

(Since I use millet phone as a white first developing Android program may report the above errors.)
Here Insert Picture Description
Just open the USB installer privileges can be.
We hope to solve everyone's problems.

Published 46 original articles · won praise 16 · views 2632

Guess you like

Origin blog.csdn.net/qq_43598138/article/details/104091976