Eclipse - 使用Android 7清空Logcat [英] Eclipse - Empty Logcat with Android 7

查看:374
本文介绍了Eclipse - 使用Android 7清空Logcat的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近将Nexus 9平板电脑更新为Android 7 Nougat。

从那时起,Eclipse中的Logcat视图停止显示Logcat消息,视图保持为空。

还有设备目标显示为未知。
如果我在Eclipse之外启动Logcat(AndroidSDK-> tools-> ddms),它将显示所有消息。然而,应用程序列保持为空。

在这个主题上已经有了一些(较老的)关于这个问题的问题,但是这里没有一个解决方案适用于我。

我尝试了:




  • 使用另一个USB端口

  • 将设备集中在DDMS透视图中

  • 重新启动Eclipse

  • 重新启动设备+ pc

  • abd kill-server

  • 禁用并重新启用设备上的USB调试

  • 重新设置USB调试授权并再次确认RSA指纹

  • 切换USB-模式为MTP



Android SDK中的每个安装的软件包都是最新版本,我使用最新的Eclipse + ADT插件。 >
我的Galaxy S5 Mini(Android 5.1.1)也可以正常使用。

我知道,ADT-Plugin已被弃用,我们应该使用Android Studio。

但是我仍然尽可能地使用Eclipse,所以我正在寻找一个解决这个问题的解决方案。

所以有人知道如何解决这个问题?

解决方案

可以使用Android设备监视器应用程序,



此应用程序在sdk-tools包中。



启动从命令行



cd到sdk-tools文件夹/ tools /目录,



输入以下命令:monitor。 >



Windows环境



打开目录 sdk-tools文件夹/ tools /,



,然后双击monitor.bat。



detail - > < a href =https://developer.android.com/studio/profile/monitor.html =noreferrer> Google用户指南


I recently updated my Nexus 9 Tablet to Android 7 Nougat.
Since then the Logcat view in Eclipse stoped displaying Logcat messages, the view just stays empty.
Also the devices target is shown as "Unknown". If I instead start Logcat outside Eclipse (AndroidSDK->tools->ddms) it displays all messages. However, then the "Application" Column stays empty.
There are allready some (older) questions on this topic here on SO, but none of the solutions here worked for me.
What i tryed:

  • Use another USB Port
  • Focus the device in the DDMS perspective
  • Restart Eclipse
  • Reboot the device + pc
  • abd kill-server
  • disable and re-enabled USB Debuging on the device
  • Reset the USB-Debuging authorization and confirm the RSA fingerprint again
  • Switch USB-Mode to "MTP"

Every installed package from the Android SDK is up to date and i use latest Eclipse+ADT Plugin.
Also everything works fine with my Galaxy S5 Mini (Android 5.1.1).
I know, that the ADT-Plugin is deprecated and we should use Android Studio.
However I still preffer to use Eclipse as long as possible, so I am looking for a solution for this problem.
So does anyone know how to solve this issue?

解决方案

can use "Android Device Monitor" Application,

This application in the sdk-tools package.

Launch From the command line,

cd to the "sdk-tools folder/tools/" directory,

enter the following command : monitor.

or

windows environment,

open the directory "sdk-tools folder/tools/",

and double click monitor.bat.

detail -> Google User Guide

这篇关于Eclipse - 使用Android 7清空Logcat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆