Galaxy S5 Lollipop - 并非所有断点都会在 Android Studio 调试器下停止执行 [英] Galaxy S5 Lollipop - not all breakpoints stop execution under Android Studio debugger

查看:18
本文介绍了Galaxy S5 Lollipop - 并非所有断点都会在 Android Studio 调试器下停止执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将 Samsung Galaxy S5 SM-G900F 升级到 Lollipop (Android 5.0) 后,我发现了奇怪的行为:

After upgrading Samsung Galaxy S5 SM-G900F to Lollipop (Android 5.0) I noticed strange behavior:

并非所有断点都在 Android Studio 中被捕获.

not all breakpoints are being caught within Android Studio.

这里是环境描述和我的观察

Here is environment description and my observations

  • Windows 8.1 x64
  • 带有 SDK 工具 24.0.2 的 Android Studio 1.0.2
  • Sun jdk1.7.0_55
  • 在 SDK 模拟器下,所有断点都被捕获
  • 在 Genymotion 下捕获所有断点
  • 在 4.4.4 的 Galaxy S3 下,所有断点都被捕获
  • 在具有 5.0 的 Galaxy S5 SM-G900F 并非捕获所有异常
  • Windows 8.1 x64
  • Android Studio 1.0.2 with SDK Tools 24.0.2
  • Sun jdk1.7.0_55
  • under SDK emulator all breakpoints are caught
  • under Genymotion all breakpoints are caught
  • under Galaxy S3 with 4.4.4 all breakpoints are caught
  • under Galaxy S5 SM-G900F with 5.0 not all exceptions are caught

我尝试重启手机、重启开发机器、在开发选项中打开/关闭调试、使用三星和谷歌的 USB 驱动程序、使 Android Studio 中的缓存无效、完全清除和重建等等.

I tried rebooting phone, rebooting dev machine, turning on/off debugging in dev options, using USB drivers from Samsung and Google, invalidating cache in Android Studio, doing full clear and rebuild and so on.

有效的断点在红色图标内有勾号.我不知道规则,哪些类确实有工作断点,哪些没有.

Breakpoints that work have ticks inside red icons. I don't know the rule, which classes do have working breakpoints and which don't.

同样的事情发生在三个不同的 devbox 上.

The same thing happens with this device on three different devboxes.

帮助!

推荐答案

三星 S5 本周的最后一次更新解决了 Eclipse IDE 的问题.安卓法语版 G900FXXU1BOC7

Last update of Samsung S5 this week solves the problem with Eclipse IDE. Android French version G900FXXU1BOC7

这篇关于Galaxy S5 Lollipop - 并非所有断点都会在 Android Studio 调试器下停止执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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