How to install APK on Android emulator

Source: Internet
Author: User

1. First, select Settings> Applications> Unknown Sources Checkbox to allow Applications to be installed from non-Android Market channels.

 

2. Add SDK_ROOT to the system environment variable and point it to the tools directory under the Android SDK installation directory.

3. Start Emulator. You can use adb devices to check whether the PC is connected to Emulator. Adb is in the platform-tools subdirectory under the Android SDK installation directory.

List of devices attached
Emulator-5554 device

4. Mount the. APK file installed by the supervisor to the tools directory and go to the tools directory under the command line.

Adb install your_application.apk

For example, install Google voice search (if the downloaded file suffix is .zip, set it to .apk)


C: \ eclipse \ androidsdk \ tools> adb install VoiceSearch_2.1.apk
161 KB/s (442329 bytes in 2.667 s)
Pkg:/data/local/tmp/VoiceSearch_2.1.apk
Success

5. After successful installation, you can display the installed application icon in the Launcher of the simulator.


Author: mapdigit
 

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.