Can I see the Logcat on the Android Phone itself, without connecting it to the computer?

后端 未结 2 1930
渐次进展
渐次进展 2020-12-18 19:58

If yes, then how? Does Logcat also log events like starting time of application on its own, or the application has to use something like Log.v(App_name,message) at the start

2条回答
  •  [愿得一人]
    2020-12-18 20:15

    exactly Sashi : aLogCat is basical, but if you want your own reader, there is a special permission for this : Read_logs.

    The least you can see is an entry from the ActivityManager : looking like this approx.

    - Timestamp - INFO/ActivityManager(7703): Starting: Intent {act=android.intent.action.MAIN
    cat= [android.intent.category.LAUNCHER]cmp=com.lemonde.androidapp/.SplashActivity 
    bnds=[5,553][115,671] } from pid 7786
    

    and here is an interesting tutorial

    Good luck !

提交回复
热议问题