1. Run the Android simulator, start your Android mobile phone system, and prepare the apk software you need to install.
For example, I put the UC browser APK on the d drive and the file name is:
- ucweb-7.2.2.54-999-139-10070817.apk
2. Open the CMD window and Enter CMD in the Start menu and press Enter.)
Input
- adb install D:\ucweb-7.2.2.54-999-139-10070817.apk
Yeah? Error:
- error: more than one device and emulator
What's going on? InputAdb devicesPress enter to check whether there are two devices. The reason is that the computer is connected to the USB of the mobile phone. You can simply remove the USB of the mobile phone.
After the problem is solved, enter
- adb install D:\ucweb-7.2.2.54-999-139-10070817.apk
Installed successfully! Success)
If the prompt "adb is not an internal or external command, it is not a executable program or batch file ".
Enter the absolute adb address:
- E:\android-sdk-windows\tools\adb install e:\123.apk
Note: "E: \ android-sdk-windows \ tools \ adb" is where I directly copy the android-sdk-windows folder to the edisk.
Tip: After Entering adb install, drag the apk to the command line window and it will automatically enter the address.
Go to your phone and check that there is an additional UC icon.
Other APK software can also be installed like this
Android smartphone operating system
Mobile developers prefer iOS and Android platforms
Android UI design template Dashboard and Action Bar
Android Application Development Tutorial: communication between two running activities