简体   繁体   中英

Android Studio Logcat not showing anything

I implemented all techniques using stackoverflow but none of them worked for me.

i have android studio version 2.2.i have enable adb integration as well as DDMS setting etc all solutions. i restarted logging and restart app,Android studio and Laptop restart as well but nothing worked for me. i am attaching my error dialog Verbose and info images with this post. 错误对话框 冗长的 在此处输入图像描述

  1. File ->Invalidate Cache使缓存失效

2.Restart your phone or emulator

  1. Run. It should work

就我而言,这不是 android studio 问题,而是手机问题 -尝试重新启动手机或模拟器。

从任务管理器中杀死 ADB,然后运行一个应用程序并在 Android 监视器中检查过滤器为“仅显示选定的应用程序”。

I have solved this issue by enabling "Use libusb backend" option in Android Studio -> Preferences -> Debugger -> Android Debug Bridge (adb). 在此处输入图片说明

我通过在过滤器部分不应用过滤器解决了这个问题。

For me simply restarting Android Studio solved the issue. I was even able to see the logs which were hidden to me previously.

在我的情况下,它是通过简单地断开和连接我的手机来解决的,希望这对你们所有人都有效

In my case i was using Log methods without properly initializing the TAG parameter.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM