原文:Android Studio提示“Source code does not match the bytecode”

在添加第三方功能的时候,导入第三方jar库,添加依赖之后,然后 在用Android Studio进行debug调试的时候,跑到使用jar库代码的地方不能正常进入下一步,然后会提示 Source code does not match the bytecode 。 网上说的碰到这种提示的原因很多。 我的碰到的是: 需要在app模块下build.gradle文件里添加 ...

2019-04-30 16:56 0 2763 推荐指数:

查看详情

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

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

Fri Dec 17 18:02:00 CST 2021 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
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查看源码时提示: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