Common Linux and simulator commands used in Android Development

Source: Internet
Author: User

I. Linux commands1. Mount/mongome partitions in read/write status

Mount-o remount, rw-t yaffs2/dev/block/mtdblock3/system
2. Switch to the Root user
Su





2. Common simulator commands 1. Install the application
Adb install xxx.apk
2. reinstall the application (data remains unchanged)
Adb-r install xxx.apk
3. export data from the simulator
Adb pull simulator path local path such as adb pull/mnt/sdcard/test.png c :\
4. view the created simulator:
Android list avd
5. Start the simulator.
Emulator-avd simulator name-partition-size 128)
6. Remount the/system partition to the read/write status.
Adb remount
7. Enter the Shell Terminal
Adb shell
8. view the list of currently running Simulators
Adb devices
9. Start and close the adb Service
Adb start-serveradb kill-server
10. View logs
Adb logcat or adb logcat-s simulator name

 

 

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.