Eclipse - Empty Logcat with Android 7

纵然是瞬间 提交于 2019-11-26 22:56:18

问题


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?


回答1:


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




回答2:


I tried with this custom build and it works for me. Now I can see my logcat in Eclipse again.

https://github.com/khaledev/ADT/releases

Download the zip file then in Eclipse menu Help > Install New Software... > Add > Archive... Just pick the downloaded zip and do the rest of the install process.




回答3:


I had the same problem. Eventually, I found out that the "Eclipse IDE for Android Developers" was out of date. Updating this feature fixed the problem. Procedure:

  • Open Help -> About Eclipse -> Installation Details

  • Select "Installed Software" tab

  • Select "Eclipse IDE for Android Developers"

  • Click "Update" in the bottom.



来源:https://stackoverflow.com/questions/39351106/eclipse-empty-logcat-with-android-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!