In the development process of Android program, sometimes it just flashes when debugging the program, and only an exception E/HAL:load:id=gralloc!=hmi->id=gralloc is left in the log. It is difficult to find out the reason by looking at the code, which is very annoying.
This problem is the reason why the phone debug log is not opened!
Open the debugging log of the mobile phone and enter the project menu of the mobile phone. The method of entering the project menu is different for each mobile phone. Please Baidu.
The debugging phone I use is Huawei p8, and the way to enter the project menu is: input *#*#2846579#*#* in the dial keyboard.
After entering the project menu-enter the background settings-enter the Log settings-select AP log.
The error is pointed out in every line of the program.





No comments:
Post a Comment