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.