Android studio debugger stops at random location

▼魔方 西西 提交于 2019-12-13 15:48:00

问题


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.


回答1:


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.




回答2:


Android Studio 2 Beta is not stable yet. I think you should return latest stable Android 1.5 version in order to get rid of strange errors.



来源:https://stackoverflow.com/questions/36222411/android-studio-debugger-stops-at-random-location

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