《第一行代码》第六章 6.2 文件储存的例子中找不到data目录

分析

在Android Studio 3.0之后的版本中,DDMS 和 Systrace、Hierarchy Viewer都不用了。使用Android Profiler替代DDMS 和 Systrace,Layout Inspector 替代Hierarchy Viewer。

解决办法有两个:

1:点击Android SDK下的`monitor.bat文件,它的目录为:
/users/用户名/Library/Android/sdk/tools/monitor.bat

提示端口被占用:

Could not open Selected VM debug port (8700). Make sure you do >not have another instance of DDMS or of the eclipse plugin running. >If it's being used by something else, choose a new port number in >the preferences.

2:改用Android Studio直接打开,路径为:
View-->Tool Windows-->Device File Explorer

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容