Android studio调试器停在随机位置 [英] Android studio debugger stops at random location

查看:220
本文介绍了Android studio调试器停在随机位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将断点放在updateChauffeurs方法中,它将它设置为loadLicenties方法,并在loadLicenties方法中断开(见手表)。



项目清理,项目重建,电脑和Android平板电脑重启没有帮助。



有什么帮助是用三星TabPro 8.4平板电脑取代Nexus 7(2012)平板电脑 - >这里的断点正确无误。



任何提示?运行android studio 2 beta 7,具有毕业生2.10并启用即时运行。



解决方案

Wukash的评论是正确的:只需卸载apk并重新安装即可。我不明白,安装一个新的apk使用adb没有做到这一点。


I put the breakpoint at the updateChauffeurs method, it sets it at the loadLicenties method and it breaks at the loadLicenties method (see watches).

Project Clean, project rebuild, computer and android tablet reboot didn't help.

What did help was to replace the Nexus 7 (2012) tablet with a Samsung TabPro 8.4 tablet -> here the breakpoints are hitted correctly.

Any tips? Running android studio 2 beta 7 with gradle 2.10 and instant run enabled.

解决方案

Wukash comment was right: simply uninstalling the apk and reinstalling did the trick. I don't understand though, installing a new apk using adb didn't do the trick.

这篇关于Android studio调试器停在随机位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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