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
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.)
Just open the USB installer privileges can be.
We hope to solve everyone's problems.