Configure Android M to show unexpected closing errors in a Huawei

3

I have a "huawei g play mini" phone with android 6 but when I run my application I can not see the errors when the application is closed, try a "sony" with android 5 and if it shows me the errors in LogCat . There is the origin of my question, I do not know if there is any option that I have forgotten to activate.

    
asked by Manuel Couoh 08.04.2016 в 00:24
source

2 answers

2

I have already found the solution. The solution is to edit an option in the Huawei's operation.

  • Dial the number * # * # 2846579 # * # *.

  • Select Background Settings.

  • Select LOG Settings.
  • Mark CP Log (activate debug and verbose messages) and AP Log (To activate the general log of the application), in my case I am satisfied with the CP Log.
  • Restart the device.
  • answered by 20.04.2016 в 22:42
    0

    Firstly ensure that the device drivers are installed; if you use several devices, in Android Studio active Android Monitor , there you can change the device you want, to print the messages in the LogCat:

    Remember to also set the message filter in "Verbose" to show all types.

        
    answered by 08.04.2016 в 00:47