Quickly install apk files into your Android phone

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.