开发者

Android LogCat is not working for emulator

开发者 https://www.devze.com 2023-03-31 16:19 出处:网络
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.

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

Android LogCat is not working for emulator

@Shlublu

Its working fine with API Level 8 and Build In WVGA800

but not working with HVGA

sometime also not working with WVGA800

Amit Battan


Android LogCat is not working for emulator

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

0

精彩评论

暂无评论...
验证码 换一张
取 消