Add the APK file to the Android emulator (AVD) to run

Source: Internet
Author: User

apk different exe and jar files, apk need to run on the Android system, a single APK file is still useless, can not be directly dragged into the AVD (of course, can be placed directly on the Android phone)

Since most of our eclipse is already installed, the decompression is used directly, so you can run the emulator without configuring the environment variable. But it takes several steps to add an APK (no source program) to the AVD. Before following the operation of the Internet will always appear adb non-internal command! Later asked bin elder brother!!!

First, do not rush to open the simulator, first set up the environment, the Android files in the tools and platform-tools two folders directory copy well, put in the environment variables:


Second, start the simulator:


Place the apk file in the same directory as the Android tools, such as firstapp.apk

Iv. Open the directory of Android tools in the DOS interface command: adb install firstapp.apk you can see it in the simulator in a minute.

Add the APK file to the Android emulator (AVD) to run

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.