如何调试Android后台服务? [英] How to debug an Android Background Service?
本文介绍了如何调试Android后台服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在为Android开发包含后台服务的PhoneGap应用程序.我的问题是:如何调试此服务?是否可以使用AVD进行调试并逐步进行?还是可以使用自己的设备来实现?
I have been developing a PhoneGap application for Android which contains a Background Service. My question is: How can I debug this service? Is it possible to debug using an AVD and go step by step? or can I use my own device to achieve that?
谢谢!
推荐答案
是的,可以使用AVD或设备来完成.查看 http://www.helloandroid.com/tutorials/how-debug-service 和调试服务.
Yes, it can be done using AVD or device. Check out http://www.helloandroid.com/tutorials/how-debug-service and Debugging a service.
这篇关于如何调试Android后台服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文