Log.d reports not showing up after Android Studio 2.3 Update

前端 未结 3 536
时光说笑
时光说笑 2021-01-05 13:29

After upgrading to Android Studio 2.3, my Log.d reports are no longer showing up in the run menu. I rebooted my machine twice. Strangely, the reports are showing up when I

相关标签:
3条回答
  • 2021-01-05 14:09

    This worked for me: the mistake I was making was leaving out the message. For example I was only providing the first string parameter (the tag) and leaving the actual message out:

    Log.d("MyTag", "")

    When I stopped putting an empty string as the 2nd param and putting a random Char, or anything for that matter in the 2nd param then it showed up in my LogCat, otherwise it got skipped.

    Hope this helps someone!

    0 讨论(0)
  • 2021-01-05 14:14

    goto Run - Edit Configurations

    then 2nd tab Miscellaneous

    check both items Show logcat automaticallyand Clear log before launch

    0 讨论(0)
  • 2021-01-05 14:15

    According to this bug report, this seems to have been an intentional change in 2.3:

    https://code.google.com/p/android/issues/detail?id=235668

    0 讨论(0)
提交回复
热议问题