Pages

Tuesday, January 17, 2023

Fixing “INSTALL_FAILED_USER_RESTRICTED” on Xiaomi Devices (MIUI 13 and Above)

If you’re developing an Android app on a Xiaomi device and encounter the error INSTALL_FAILED_USER_RESTRICTED, it usually means that the system isn’t allowing installations from USB for development. This most often happens if you accidentally pressed “Deny” the first time the “Install via USB” permission prompt appeared.

Here’s how to fix it.

Step-by-Step Solution

1. Enable Developer Options

  • Go to Settings → About phone.

  • Tap MIUI version repeatedly until you see a message saying “You’re now a developer!”

Featured post

How to Manage App Versions Like a Pro (Android + iOS Guide)