Command line run Android emulator

Source: Internet
Author: User

Create simulator

    1. Android Create AVD--name avd_4.1--target "android-16"--abi armeabi-v7a
    2. Android 4.1 is a basic Android platform.
    3. Do you wish to create a custom hardware profile [No]
    4. Created AVD ' avd_4.1 ' based on Android 4.1, ARM (armeabi-v7a) processor,
    5. With the following hardware config:
    6. hw.lcd.density=240
    7. vm.heapsize=48
    8. hw.ramsize=512



Running the emulator

    1. EMULATOR-AVD "avd_4.1"
    2. 2012-10-28 13:47:12.086 emulator-arm[1069:1107] Warning once:this application, or a library it uses, is using Nsquick Drawview, which has been deprecated.  Apps should cease use of QuickDraw and move to Quartz.
    3. Emulator:emulator window was off of view and was recentered



Install apk to simulator

    1. adb install./bin/anttest-debug.apk
    2. kb/s (37443 bytes in 0.442s)
    3. PKG:/data/local/tmp/anttest-debug.apk
    4. Success



Uninstall APK

    1. ADB uninstall Com.doodoobird.anttest
    2. Success

Command line run Android emulator

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.