Android: ADT doesn't recognize the format of Nougat logcat

烈酒焚心 提交于 2019-12-01 05:20:41

问题


I have an "old" ADT:

Eclipse IDE for Android Developers  23.0.2.1259578  adtproduct

connected to a Nougat Pixel C.

ADT doesn't succeed to read properly the format of logcat as shown on this screenshot:

There was no problem before the upgrade to Nougat, aka with Marshmallow. Is there anything to do (except abandoning ADT...)?


回答1:


Issue:
-Eclipse is no longer supported by Android
-Android Nougat/7 this broke (new LogCat protocol I read)

Eclipse fix (custom build)
Credit goes to: Romano in https://stackoverflow.com/a/41486502/3147100
-Download: https://github.com/khaledev/ADT/releases ADT-24.2.0-20160729.zip
-Eclipse menu Help->Install New Software... -> Add -> Archive...
-Select the downloaded zip -> Ok -> Check box next to "Developer Tools" -> Next -Proceed with install defaults

Quick Alternative Fixes:
-"adb logcat" (\SDK\platform-tools\ADB.exe) (easy, but console style)
-\SDK\tools\monitor.bat (Android Device Monitor) (easiest option)
-\SDK\tools\DDMS.bat (Dalvik Debug Monitor) (deprecated but still works)



来源:https://stackoverflow.com/questions/39302436/android-adt-doesnt-recognize-the-format-of-nougat-logcat

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