java源码调试-android_framework_debug:调试androidjava层

时间:2021-05-19 21:46:00
【文件属性】:
文件名称:java源码调试-android_framework_debug:调试androidjava层
文件大小:932B
文件格式:ZIP
更新时间:2021-05-19 21:46:00
系统开源 java 源码 调试 android_framework_debug 调试android java层源码 1 首先建立代码层库 repo init -u -b android-6.0.0_r1 国内镜像 repo init -u -b android-6.0.0_r1 2 同步子木块 我们只需要framework代码就可以了 repo sync platform/frameworks/base 如果想看cpp代码 同步 repo sync platform/frameworks/native 3 使用Genymotion创建相对应的模拟器 6.0 nexus5 4 使用android studio带入framework源码 点击 attach debugger to android process 如果想debug anroid server层的代码 选择system_server 进程 在相应的地方打断点. 我主要用来调试AMS 在ActivityManagerService 的方法里面打断点。 上层的主要断点Activity ActivityStack Instumentation
【文件预览】:
android_framework_debug-master
----README.md(839B)

网友评论