Android LogCat is not working for emulator
I am new in Android and java programming.
LogCat is woking fine for one of my emulator. But same time it is not working for another e开发者_如何学JAVAmulator.Can any body tell me any specific setting for it.
EDIT
@all DDMS Screenshot, I am using MAC operating system@Shlublu
Its working fine with API Level 8 and Build In WVGA800 but not working with HVGA sometime also not working with WVGA800Amit Battan
Look, top right side of your eclipse ide -> from java choose ddms -> then from ddms window bottom click on other -> devices -> then your emulator for which you want to show logcat Try this.
Goto DDMS --> Select Device --> Select Name
It may be Emulator 5554, Emulator 5556
Go to DDMS and select the Emulator you want to dispaly hte logCat. And come back to the JAVA perspective. It will show the logs of selected emulator.
if you run adb devices
you will get a list of devices attached to your Android Debug Bridge. You can run a command on a specific one by adding the -s switch, so this
adb -s devicename logcat
should give you what you need.
Anthony
精彩评论