原文:出现警告:source code does not match the bytecode

今天在使用android studio 进行 debug 时跳出来一个警告, source code does not match the bytecode 在每一步 debug 后都会弹出一下 上网搜到的答案 源代码添加代码后没有重新编译,程序关闭重新 debug 就好了 ...

2021-12-17 10:02 0 1059 推荐指数:

查看详情

DEBUG时候source does not match the bytecode

出现这个提示的话,在class文件的首行一般会有decompiled.class file bytecode version:52.0(java 6)这句提示。 先检查一下maven的jar包里面,如果没有问题,就点击该提示的download source。可以消除这句source does ...

Sat Jan 18 18:43:00 CST 2020 0 892
Android Studio提示“Source code does not match the bytecode

在添加第三方功能的时候,导入第三方jar库,添加依赖之后,然后 在用Android Studio进行debug调试的时候,跑到使用jar库代码的地方不能正常进入下一步,然后会提示“Source code does not match the bytecode”。 网上说的碰到这种提示 ...

Wed May 01 00:56:00 CST 2019 0 2763
library source does not match the bytecode for class

在IDEA中阅读代码时,时常会跟踪到jar包源码层面,会点击Download Sources,源码包就会被下载到idea中 但是当pom.xml引入了新的版本,此时,再次阅读源码时,就会提示”library source does not match the bytecode ...

Fri Nov 27 01:34:00 CST 2020 1 2210
在idea 使用debug模式时出现错误“字节码与代码不匹配”(source does not match the bytecode

看到这个提示我以为是因为我之前移动了项目路径的操作导致的,重新导入后仍行不通,经过一系列的搜索,发现原来是该项目有两个模块,里面存在两个相同的类文件名于是debug搞错了,具体为什么会搞错模块我也不清楚。但解决办法是:File-》settings勾选:show alternative source ...

Tue Dec 28 02:01:00 CST 2021 0 2028
IDEA查看源码时提示:Library source does not match the bytecode for class的问题分析

通过Maven查看依赖的源码时,通常是Maven自动下载JAR包附属的source包,但是会出现一个问题,由于使用lombok插件会造成编写的Java文件和编译后的class上有差别,所以IDEA打开时看到的是Maven打包时用的源码,而IDEA会自动匹配与.class反编译后的源代码,造成不匹配 ...

Thu Nov 23 16:20:00 CST 2017 1 13383
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM