Simulate running Android applications in Windows

Source: Internet
Author: User

 

1. preparation tools: android-sdk-windows-1.5_r2.zip,
Decompress the package. The following files are available in the tools directory: Android. bat, emulator.exe, adb.exe, and mksdcard.exe.

 

2. Start/run/CMD, start a command line terminal, and create AVD (Android Virtual Device );
Android create AVD-Target 1-name myavd
Android list AVD (display available AVD)

 

3. Create an SD card image:
Mksdcard 64 m mysdcard. img

 

4. Open a simulator:
Emulator-sdcard mysdcard. IMG-AVD myavd

 

5. Open a cmd command line terminal again and load the APK ApplicationProgram:
ADB install myapk.apk

 

6. Click Run in the simulator.

 

Follow these steps to run ADB install myapk.apk separately. An error occurs:
Error: device not found

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.