Solve the problem of unable to output debug level log in Huawei mobile phone

Source: Internet
Author: User

Recently purchased the new Huawei Mobile phone Glory 8, feel, performance, beauty value are very good. As an Android development engineer, you will naturally use the real machine for daily debugging. However, this phone is not so "obedient"! Repeated attempts to open the developer options in the settings, still cannot output log.d (), LOG.V (), such as log information! In the Huawei Mobile Phone Forum found a post, said that the "project mode" to open the AP log.

Enter project mode

To start the dial-up app, type: *#* #2846579 #*#* a bunch of things.

After a few settings above, you can output all levels of log in the Logcat!

# #日志输出

Mobile Phone Engineering mode

In fact, Android phones are available to developers to test the project mode, the most open way is fixed a bunch of things to enter, mobile phone users can see their phone including IMEI, network operators, whether roaming, signal strength and whether roaming and other basic information. Of course most users will not get into engineering mode. Now let's take a look at the IMEI of my machine:

This article hopes to be able to play the role of reminders, tell you developers, if you encounter a USB connection or log can not output, remember to look at the project mode!

Xiaomi even USB does not recognize small tips

Premise:
1. Make sure your phone is connected to your computer and installed.
2, the mobile phone settings-developer mode open-USB debug mode Open

Workaround:
Dial mode enter ##717717 ##, select confirm, then phone unplugged
Once you're done, you can turn it off.

Solve the problem of unable to output debug level log in Huawei mobile phone

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.