简体   繁体   English

未连接Logcat时Android日志

[英]Android logs while not connected to Logcat

Does android save any logs when not plugged in development mode and using log cat? 当未插入开发模式并使用log cat时,android是否保存任何日志?

Can app crashes be detected when device is not in debug mode? 当设备未处于调试模式时,是否可以检测到应用程序崩溃?

Thread.setDefaultUncaughtExceptionHandler(new UncaughtExceptionHandler() {

        @Override
        public void uncaughtException(Thread thread, Throwable ex) {
            // TODO Auto-generated method stub

        }
    });

use this to catch error 用它来捕捉错误

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM