In a PC, how can an Android programmer quickly install the APK file to an Android phone without having to install a variety of phone assistants (double-click on the apk file to install it automatically without a manual command)?
You can use the following methods: Using batch files + Quick batch file (De) Compiler
Steps:
1, write the following DOS command, and save as Apk.bat
@echo off
ECHO is connecting the phone ...
ADB wait-for-device
Echo.
REM Gets the absolute path of the double-click apk file
Set apk=%*
Echo is installing:%apk%
ADB install-r%apk%
Echo.
echo Installation is complete!
Echo.
Pause
Description: The environment variables for the Android ADB tool must be set up previously so that the ADB command can be used normally
2, install the Quick Batch file (De) Compiler, the above written apk.bat compiled into EXE file
Can be compiled into a apk.exe file
3, put the compiled apk.exe into a disk, and then the APK file open mode choose to open with Apk.exe
4, finally double-click wepi.apk installation
Quickly install apk files into your Android phone