原文: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