Android cmd adb command install and remove APK app and find package name

Source: Internet
Author: User

Transfer from http://blog.csdn.net/lfyx1357/article/details/7418133

1. Install Android App

1) Launch Android emulator

2) adb install (APK on the PC Path/) *.apk (upload the apk file to the Data/app directory with the emulator's own operating system)

3) Browse open APK app in Android emulator interface

2. Remove Android App

There are several ways to remove Android.

The first type: command line with Uninstall

The package name of the ADB uninstall APK (viewed in the EC switch to Ddms File Explorer, Data/data)

The second type: command line into the emulator operating system

ADB shell (into the emulator's own operating system)

CD data/app (switch to APK's installation directory)

RM ***.apk ( view with EC switch to Ddms's file Explorer, Data/app)

The third type: 1.1 above the emulator is deleted, very simple

Simulator Setting, applications, Manage applications, XXX program, Uninstall

This will allow you to delete the.

Add: Method from Xiao Qiang video

Android cmd adb command install and remove APK app and find package name

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.