2012-06-23 31 views
0

我有一个在移动设备上进行了最佳测试的应用程序,但我也希望看到catlog输出。如何在移动设备上运行时看到catlog?如何在移动设备上运行应用程序时看到catlog

编辑:对不起,我不清楚。你知道当你在桌面模拟器上运行应用程序时,eclipse会输出logcat输出吗?但是当我在移动设备上运行我的应用程序以便更好地测试时,我希望看到输出为logcat。

+0

你想看设备本身..? –

+1

我想在桌面的eclipse的logcat输出中看到它。 –

回答

0
in case if you want to see on eclipse : 

Make the debug mode true in manifest. (before making built) 
Attach the device in to cumputer using USB cable . 
Install the driver (if needed) 
see the device in the DDMS device section(if not found then restart adb) 
click on the device name in device section 
+0

http://stackoverflow.com/questions/2882253/how-do-i-get-the-logfile-from-an-android-device –

+0

谢谢!但即使在启动adb后,我仍无法在设备视图中找到我的设备。我能做什么?你提到的这个驱动程序在哪里? –

+0

驱动程序取决于您的设备model.for少数设备谷歌sdk提供的驱动程序,但不是所有的http://developer.android.com/sdk/win-usb.html –

相关问题