Debugging on XIAOMI/MIUI Device

Swair AQ
Sep 13, 2021

So you want to test your app on your Xiaomi device? but things aren’t exactly the same?

I got you!

On your MIUI device go to your settings application and do the following:

  • Settings > About phone > keep tapping ‘ MIUI version’ 7 times (you’re a developer message will appear).
  • Settings > Additional settings > developer options> Turn on followning settings:

Now just connect your phone and install the app through Android Studio or if you’re using react-native through cli.

On first installation a prompt will require your acknowledgement and if you don’t do it in time android studio will fail installation with an error.

Just tap on Install button on left and you’re good to go!

--

--

Swair AQ

Swair Arshad is a React-Native developer with core in iOS development. — Software Enthusiast. Motive to be better developers together.