Android logcat Method for viewing non-wifi/usb devices, androidlogcat

Source: Internet
Author: User

Android logcat Method for viewing non-wifi/usb devices, androidlogcat
Android: how to view logcat without wifi/usb devices

A custom Android device with wifi removed. I need to debug a USB device so that I cannot use usb to output logcat.

Because this USB device requires kernel driver support, it cannot be debugged on other devices.

Therefore, some methods include outputting logcat via Bluetooth, which is supported by Android wear.
Adding capture error and Exception Code to the Code to write the code to the SD card is a huge workload and troublesome

2. Simple Solution 1. Install Android Terminal software.

One available link is
Http://jackpal.github.io/Android-Terminal-Emulator/downloads/Term.apk
Enter commands on the display

2. Enter the command in Terminal.

Logcat-f/sdcard/m. log

Then the application is executed.

3. Disable log Capture.

You can enter ctrl-c in the terminal window, usually the volume minus + c key.

4. Download the capture results

You can switch the device to the USB flash drive mode, or use adb pull/sdcard/m. log to analyze and view the device from the PC,

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.