When I toggle on the install via USB in developer mode:
In my case when i updated MIUI version to the new available version, resolved the issue. So check if there is any update available for your device, go to
Settings => About phone => System update => here it will shows you the new available MIUI version for your device. So update it then try again.
Note: Turn your Mobile data before enabling install via USB.