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

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

问题描述

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


并不是所有的断点都被抓住在Android Studio中。


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




  • Windows 8.1 x64

  • Android Studio 1.0.2 with SDK Tools 24.0.2

  • Sun jdk1.7.0_55

  • 在SDK模拟器下,所有断点被捕获

  • 在Genymotion下,所有断点都被捕获在Galaxy S3下,4.4.4所有的断点在Galaxy S5 SM-G900F与5.0 之间捕获

  • 所有异常都被捕获



我尝试重新启动手机,重新启动dev机器,在开机选项中打开/关闭调试,使用Samsung和Google的USB驱动程序,使Android Studio中的缓存无效,完全清除并重建等。 / p>

工作中的断点在r内有ticks ed图标。我不知道规则,哪些类有工作断点,哪些类没有工作断点,哪些类不具有工作断点。



同样的事情发生在三个不同的devbox上的这个设备。 >



帮助!

解决方案

本周三星S5的最新更新解决了Eclipse IDE的问题。 Android法语版G900FXXU1BOC7


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

not all breakpoints are being caught within Android Studio.

Here is environment description and my observations

  • 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

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.

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

Help!

解决方案

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天全站免登陆