When I toggle on the install via USB in developer mode:
This worked for me:
Go to settings-> Mi Account->Account security Then verify phone and email, If not added then add and verify that