Home  >  Q&A  >  body text

android-studio - Android Studio logcat一闪而过,如何显示出来

android studio 调试的时候,app闪退重启,logcat的红色log就看不到了,刷新变成app重启后的log,求问怎么看。

PHP中文网PHP中文网2741 days ago701

reply all(3)I'll reply

  • 巴扎黑

    巴扎黑2017-04-17 17:58:47

    Show only selected application drop-down box selects no filters
    verbose drop-down box selects Error

    reply
    0
  • PHPz

    PHPz2017-04-17 17:58:47

    First open androidStudio before running the project, as shown in the picture:

    Open the View breakpoints panel. To add

    Search for null pointer errors + certain errors you might think are happening

    Click ok

    Then use debug run

    The program will pause before you crash. If you have any other questions, you can ask me

    reply
    0
  • PHPz

    PHPz2017-04-17 17:58:47

    Select the Show only selected application drop-down box and select No filters to see it

    reply
    0
  • Cancelreply