如何调试android框架服务? [英] How to debug android framework services?

查看:199
本文介绍了如何调试android框架服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以调试android框架的系统服务?

Is it possible to debug the android framework's system services?

我已经看到这些链接,但是没有足够的成功调试系统服务。

I have come across these links, but wasn't successful enough to debug the system services.

a href =http://android.opensourceror.org/2010/01/18/android-source/ =nofollow> http://android.opensourceror.org/2010/01/18/android-source /

http://android.opensourceror.org/2010/01/18/android-source/

推荐答案

您需要一个eclipse项目才能调试Android框架服务。为AOSP创建eclipse项目的过程不是那么简单。 Android源代码网站上的说明留下了很多细节。您将会遇到破坏的项目或破坏的AOSP构建。如果您打破AOSP构建,您可能必须转到eclipse项目创建任何工件并手动删除它们的每个文件夹。

You need an eclipse project to be able to debug Android framework services. The process of creating an eclipse project for AOSP is not that straight forward. The instructions at Android source site leaves lot of details. You will either end up with broken project or broken AOSP builds. If you break AOSP builds, you probably have to go to each folder where eclipse project created any artifacts and manually delete them.

文章调试Android Java框架服务提供了一步一步的教程,从创建项目到使用该项目调试Android的java框架服务。请检查该链接。

The article Debugging Android Java framework services provides step by step tutorial from creating a project to using that project for debugging Android java framework services. Please check that link.

这篇关于如何调试android框架服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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