简体   繁体   English

索尼Bravia Android TV-如何启用/检索ADB Logcat日志

[英]Sony Bravia Android TV - How to enable/retrieve adb logcat logs

First, have any of you guys experienced that once in a while when starting the Sony Bravia Android TV(KD-55X8505C), there is no picture, You need to reboot the tv to get the picture back? 首先,你们有没有人遇到过在启动Sony Bravia Android TV(KD-55X8505C)时不时看到图片的问题,您需要重新启动电视才能获取图片吗?

Secondly, does anyone know how to troubleshoot this ie enable/retrieve adb logcat logs from the tv? 其次,是否有人知道如何解决此问题,即从电视启用/检索adb logcat日志?

Yes, I have the newest Android firmware version and also tried to do a factory reset with no success. 是的,我拥有最新的Android固件版本,并且还尝试过恢复出厂设置,但没有成功。

To get logs from the TV you need to use ADB over TCP/IP. 要从电视获取日志,您需要使用基于TCP / IP的ADB。

  1. Enable Developer options: Press Home and select Settings. 启用开发人员选项:按主页,然后选择设置。 In the TV row, select About. 在电视行中,选择关于。 Scroll down to and click on Build several times until a dialog appears with the message "You are now a developer" appears. 向下滚动并单击几次Build,直到出现一个对话框,显示消息“您现在是开发人员”。
  2. Enable Debugging: Press Home and go back into the Settings menu. 启用调试:按Home并返回到“设置”菜单。 In the System Preferences row, select Developer options, select Debugging, select ADB Debugging, select On. 在“系统偏好设置”行中,选择“开发人员”选项,选择“调试”,选择“ ADB调试”,然后选择“打开”。
  3. Find the TV IP address: Press Home and select Network Settings. 查找电视IP地址:按主页,然后选择网络设置。
  4. Make sure your TV and your computer are connected to the same local network. 确保您的电视和计算机连接到同一局域网。
  5. On your computer, open a terminal and type: adb connect <IP address of your TV> 在计算机上,打开一个终端,然后键入: adb connect <IP address of your TV>
  6. In the Allow debugging? 在允许调试? dialog, select Always allow from this computer and select OK. 对话框中,选择“始终允许来自此计算机”,然后选择“确定”。
  7. You can verify the connection is established by typing: adb devices 您可以通过键入以下内容来验证连接是否建立: adb devices
  8. To get a log, type: adb logcat 要获取日志,请输入: adb logcat

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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