原文:The source attachment does not contain the source for the file Activity.class

最近利用Eclipse寫android程序,在debug時,總是提示The source attachment does not contain the source for the file Activity.class. 在網上查了很多,最靠譜的說法是代碼沒有與文件關聯,解決的辦法在這 個blog上寫了http: blog.csdn.net xinzheng wang article det ...

2013-06-07 14:45 2 4085 推薦指數:

查看詳情

The JAR file XXX has no source attachment問題(Eclipse)

學習過程中查看源碼遇到The JAR file XXX has no source attachment的問題后我的解決辦法是下載一個Java Source Attacher這個插件。這個插件自動幫你附加源代碼,就不用了手動附加。 一、下載插件 1.下載地址:http ...

Thu Aug 08 05:31:00 CST 2019 0 1371
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
Activity class {****} does not exist

在編譯運行apk時這種錯誤 1、首先是檢查這個MainActivity.java是不是真的存在,且包名和路徑無誤; 2. 如果文件存在,且包名和路徑沒有問題,那么就打開你項目所在的/android ...

Wed Jan 15 02:31:00 CST 2020 0 1398
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
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM