403_DeviceMonitor使用

来源:互联网 发布:京东大数据架构 编辑:程序博客网 时间:2024/06/07 07:07




DeviceMonitor使用


先打开AndroidDeviceMonitor
AndroidStudio中


在菜单最右边帮助问号的左边,有一个android机器人
叫做Android Device Monitor


点击打开


左边是设备Devices
中间是内存窗口,右边有很多选项
比如Threads,Heap,Allocation Tracker
都是DDMS的功能


点击左边的Start Method Profiling,在红色stop的左边
就可以开始记录内存
再次点击就可以停止收集数据



0 0