Add the apk file to the Android simulator (AVD) for running,

Source: Internet
Author: User

Add the apk file to the Android simulator (AVD) for running,

Different exe and jar files of apk, apk needs to be run in Android. It is useless to run a single apk file and cannot be directly dragged into AVD (of course, it can be directly put into the Android mobile phone)

Because most of our eclipse products have been installed and used directly after decompression, you can run the simulator without configuring environment variables. However, it takes several steps to add an apk (no source program) to AVD. Adb non-Internal commands will always appear in the previous operations on the Internet! Later, I asked Chen !!!

1. Do not rush to open the simulator. First configure the environment, copy the directories of the tools and platform-tools folders in the android file, and put them in the environment variables:


2. Start the simulator:


 

3. Place the apk file in the Android toolsfolder directory, for example, firstapp.apk.

4. Open the directory command of Android tools on the dos interface:Adb install FirstApp.apkYou can see it in the simulator later.

 




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.