使用的IntelliJ在android系统调试后台服务 [英] debug background service in android using intelliJ
本文介绍了使用的IntelliJ在android系统调试后台服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我最近从日食切换到的IntelliJ为Android开发(由于更好的团队支持W /项目/模块)。然而,当我尝试调试后台服务,看来这是不可能的事情。有没有人得到了成功的IntelliJ调试BG服务?
I recently switched from eclipse to IntelliJ for android development (due to the better team support w/ projects/modules). However, when I try to debug the a background service, it appears this is not possible to do. Has anyone successfully gotten intelliJ to debug a bg service?
非常感谢
本
推荐答案
有2种方式来做到这一点:
There are 2 ways to do it:
-
在Android的运行/调试配置禁用
部署应用程序
并启用不要启动活动
。
在工具栏中使用连接调试到Android的过程
按钮:
In the toolbar use the Attach debugger to Android process
button:
这篇关于使用的IntelliJ在android系统调试后台服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文