Android studio 2.3 “Debug shows Connected and Disconnected lines but nothing in between”

后端 未结 4 615
醉酒成梦
醉酒成梦 2020-12-21 05:50

I\'m testing my app in a physical device

On debug run

    Console 

$ adb push C:\\Users\\arjun\\AndroidStudioProjects\\Scol\\app\\build\\outputs\\a         


        
相关标签:
4条回答
  • 2020-12-21 06:14

    Go to Run -> Edit Configurations

    Second tab "Miscellaneous"

    Check item "Show logcat automatically"

    it's better to check item "Clear log before launch", too.

    and see logs and crashes in Android Monitor logcat

    0 讨论(0)
  • 2020-12-21 06:22

    Look at menu bar and go to Run → Edit Configurations.

    Select the second tab, "Miscellaneous".

    Check "Show logcat automatically" and "Clear log before launch".

    0 讨论(0)
  • 2020-12-21 06:22

    go to File / Setting / Build, Execution, Deployment / Instant Run , enable Log extra ...

    now you have the log in Android Monitor tab (alt+6)

    0 讨论(0)
  • 2020-12-21 06:24

    Try out File -> invalidate cache and restart It worked out for me

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