Run the Android app on a real machine. You don't need to use root. You only need to enable USB debugging.
In addition, it should be noted that the 360 mobile assistant and other automatic installation assistants are removed, otherwise the mobile phone will directly open the mobile assistant on the computer, and eclipse will not find the real machine.
Run on EclipseProgramYou can right-click the project and select "Run as", select "Run deployments", and run the program on the real machine in two ways:
1. Select the first item "Always prompt to pick device" on the target tab, as shown in:
In this way, when you click Run, an Android device chooser interface is displayed, and the corresponding real machine or simulator is selected. :
2. of course, you can also select the second item "launch on all compatible devices/AVD's" on the target tab. If only the mobile phone is connected to the computer and the AVD simulator is not enabled, it will run on the mobile phone.
In addition, each run operation runs directly on the mobile phone. You do not need to choose whether to run on a real machine or a simulator every time.
"Launch on all compatible devices/AVD's" option: