How to install APK in the Android simulator _android

Source: Internet
Author: User

This article describes the method for installing APK in the Android emulator. Share to everyone for your reference, specific as follows:

First step:

Start the emulator in Eclipse.

Step Two:

Open the Doc naming window and go to the Platform-tools in your Android SDK installation directory,

Like mine is E:/program files/andriod_sdk/platform-tools.

Step Three:

Use the ADB to install the Android operation. It is recommended that the third step use scenario I.

Programme I:

For convenience, we should directly copy the APK to the directory where Platform-tools is located and then under Doc
Input

Copy Code code as follows:
ADB install rootexplorer.apk

Programme II: ADB install < path > format for the APK to be installed such as:

Copy Code code as follows:
ADB install e:/rootexplorer.apk

Wait a moment will prompt success.

The installation is done, so check the emulator to verify that the installation was successful. The following figure:

As for how to uninstall, I think we all know.

Summary:

Today I'm going to install a apk into the Android flatbed simulator to look at the effect, so I was blindfolded, because it was usually through the Eclipse software to package the project code directly into the phone, and we only worked on it. So how do we install the APK package into the Android emulator?

The first contact is the real machine how to install the APK package, but it does not work, because the real machine it has a file manager, and the simulator wood, even if you import the package into the or can not open. So can only turn to Google, the original adb is this meaning, and finally used it, the full name is: Android Debug bridge that is, the Android debugging axle, so, unexpectedly found the tool, the rest is the use of the tool, then reference the ADB's install Install push import and pull export files, and other commonly used command formats. It has a little bit of application-level understanding. The idea of a harvest is to do something before you must think about it before you leap and apply it to your own practical life.

I hope this article will help you with the Android program.

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.