android-6.0.1-marshmallow

'Source code does not match the bytecode' when debugging on a device

天涯浪子 提交于 2019-11-26 17:39:42
问题 I have an app which I am compiling against API level 21: and then debug it on a real device with API level 23: The problem is when I try debugging through the Android OS's own classes, I get 'Source code does not match the bytecode'. Why is this happening? The test device the app is running on is API level 23, and the source file being debugged is level 23 as well. I am really confused. Can anyone explain why I am seeing this message and how I can fix it? 回答1: There's an open issue for this