Problems and solutions of Android studio debugging and running on real machine

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:
Insert picture description here

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: I downloaded 10.0 againThis should be able to run, please be careful, don’t lock the screen~

Guess you like

Origin blog.csdn.net/qq_41446977/article/details/111971558