The ADB logcat in Android studio is knocking here

Source: Internet
Author: User

Most of the official video and network did not detail the command line (the IDE integration of the easier to see) under the Logcat how to enter the first, but the specific use of detailed translation of the official website of the document.

So the record is as follows:

(1) The official website below has written

Https://developer.android.com/studio/command-line/logcat.html#Syntax

(Scientific Internet)

(2) The following summary:

Command-Line Syntax

[ADB] logcat [<option>] ... [<filter-spec>] ...

You can run Logcat as a adb command or directly in a shell prompt of your emulator or connected device. To view log output using ADB, navigate to your SDK platform-tools/directory and execute:

$ adb Logcat

You can create a shell connection to a device and execute:

$ adb shell

# Logcat

(3) Look at the red part, find the tool position

(4) Enter the directory under the command line to perform

ADB shell

Logcat

(5) Easy to use write a script, every time you click

@echo offset Adbpath=c:\users\computer\appdata\local\android\sdk\platform-%adbpath%adb Shellpause

(6) Other

LOG.D may not print out, this may be the phone setup problem, I found on the Glory model of Huawei,

You need to turn on the Log settings (enter a bunch of numbers) of the power logs, and do not know what they think.

Other specific how to use, such as a random search on a bunch, mostly similar.

The ADB logcat in Android studio is knocking here

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.