Eclipse - Empty Logcat with Android 7

前端 未结 4 742
刺人心
刺人心 2020-12-05 13:32

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 th

相关标签:
4条回答
  • 2020-12-05 14:10

    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.

    0 讨论(0)
  • 2020-12-05 14:11

    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.

    0 讨论(0)
  • 2020-12-05 14:12

    Try to launch directly sdk tool monitor from Android SDK, it can be found in:

    sdk-tools folder/tools/

    you'll see monitor.bat, click on it to launch Android Device Monitor oustside Eclipse, don't forget to create a filter for your APP, go to logcat window-> Saved filters -> + -> fill your app name in "by Aplication Name"

    If nothing works, in an emergency, you may try this to get logcat over command line (use cmd in windows), type :

    adb logcat --pid=YOUR_APP_PID_NUMER
    

    this shows messages from your APP. if you don't know your PID, put a line in your APP code:

    System.out.println("foo stuff I can find easily when I read logcat results");
    

    Run your app, make sure you get the up line executed.

    Then in your command line type:

    adb -d logcat System.out:I *:S
    

    Find your line System.out.println("foo... and read the PID number, is next right to time data.

    And then

    adb logcat --pid=pid number you read from your comment line
    

    to get logcat messages from your app in the command shell in real-time. If you just want messages output till now, just add -d modifier:

    adb -d logcat --pid=pid number you read from your comment line
    
    0 讨论(0)
  • 2020-12-05 14:17

    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

    0 讨论(0)
提交回复
热议问题