Remote APK publishing in Windows (installation and uninstallation)

Source: Internet
Author: User

After the computer Android simulator is successfully debugged, it must be released to the Android system for actual debugging. Find the ADB in the android environment of your computer and use the ADB tool to remotely manage the APK.

Locate the ADB tool path, for example, D: \ andriod \ tools \ adt-bundle-windows-x86 \ SDK \ platform-tools.

1. Connect to the remote Android system

ADB connect [IP]

 

2. Install APK

ADB install [APK path]

If the APK has been installed, it will be displayed as "failed" and the application already exists, for example:

To uninstall the installed APK, see the following.

 

3. Uninstall APK

You can detach an APK in either of the following ways: 1. Detach an APK from a terminal; 2. Detach an APK from an ADB instance.

 

3.1 uninstall on the terminal

Go to setting> apps (or application), select an application, and uninstall it.

 

3.2 uninstall ADB

ADB uninstall [package name]

The installation package name can be viewed in the command:

ADB Shell

CD/data/path selection based on actual conditions

View the installation package name, for example:

Find the package name and uninstall it:

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.