Problems and solutions of Android studio debugging and running on real machine
If you can’t run the app without running devices,
you must first turn on the developer mode on your phone, that is, click "Android version" in "Settings"-"About phone" for 5 to 7 times, and a prompt panel "has entered developer mode" will appear. , And then enter "Settings"-"System and Update", you can see "Developer Options", turn on "USB debugging", and turn on "Enable Multi-Process WebView". The debugging of the mobile phone is fine.
Also add USB driver in AS, download Google USB Driver:
Then you should be able to see your physical machine in the running device in AS. If not, update the driver in the device manager.
Error when running app
Installation did not succeed.The application could not be installed: INSTALL
It may be caused by the inconsistency between your SDK Platform version and the Android version of your mobile phone. If this is the case, download a corresponding version: This should be able to run, please be careful, don’t lock the screen~