如何调试应用程序时,工作正常,在模拟器但在实际的手机出现故障? [英] How to debug when application works fine in emulator but fails in actual phones?

查看:149
本文介绍了如何调试应用程序时,工作正常,在模拟器但在实际的手机出现故障?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何调试应用程序时,工作没有错误仿真器,但同时有些画面做SQLite的操作力关闭?

How can i debug when application works without error in emulator but force closes while doing SQLite operations on some screens?

推荐答案

您应该将手机连接到您的开发计算机,并期待在LogCat中(或使用调试器),看看什么是在堆栈跟踪回事。您还可以在手机上安装一个应用程序(如目录下载)来查看日志。

You should connect the phone to your development machine and look at Logcat (or use the debugger) to see what is going on in the stack trace. You can also install an app (like CatLog) on the phone to view the log.

这篇关于如何调试应用程序时,工作正常,在模拟器但在实际的手机出现故障?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆