[英]How can I pass a bunch of data to my computer when debugging in Android?
Log.d isn't sufficient for pushing a bunch of image data. Log.d不足以推送一堆图像数据。 Is there an easy way to do this?
是否有捷径可寻? I could write a file, but then I'd have to switch my phone into USB mode, copy the file over, and then switch it back...
我可以写一个文件,但是然后我必须将手机切换到USB模式,复制文件,然后再将其切换回...
I could write a file, but then I'd have to switch my phone into USB mode, copy the file over, and then switch it back
我可以写一个文件,但是然后我必须将手机切换到USB模式,复制文件,然后再切换回
You can use adb pull
or ADT to fetch the file from the phone's file system. 您可以使用
adb pull
或ADT从手机的文件系统中获取文件。
adb pull <remote> <local>
From ADT, use the File Explorer tab in DDMS perspective. 在ADT中,使用DDMS透视图中的“文件资源管理器”选项卡。
Having said that, most probably there is a way to debug without having to jump through hoops of creating the file, fetching it on the computer and then analyzing it. 话虽如此,很可能有一种调试方法,而不必跳过创建文件,在计算机上提取文件然后进行分析的麻烦。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.