1. 程式人生 > >The source attachment does not contain the source for the file xxx class

The source attachment does not contain the source for the file xxx class

  (1)在Eclipse中點選"Change Attached Source…”下面的按鈕

 (2)彈出SOURCE ATTACHENT Courageouration,選擇External Floder…按鈕,新增資料夾所在路徑。

(3)選擇android原始碼所在位置F:\adt-bundle-windows-x86\sdk\sources\android-20(這是我的Eclipse  SDK路徑)如果沒有自己下載,可以通過Android SDK Manager進行原始碼下載,點選“OK”按鈕,此時,便能夠檢視原始碼了

相關推薦

關於eclipse的The source attachment does not contain the source for the file找不到類的說明

關於eclipse的The source attachment does not contain the source for the file找不到類的說明 在attach source中新增Fo

The source attachment does not contain the source for the file xxx class

  (1)在Eclipse中點選"Change Attached Source…”下面的按鈕  (2)彈出SOURCE ATTACHENT Courageouration,選擇External F

The ResourceConfig instance does not contain any root resource classes

src 問題 分享 bubuko resource alt onf spa ins 問題 解決 刪除紅色圈起來的,再次重置運行。 The ResourceConfig instance does not contain any root resource c

debug顯示 'Source code does not match the bytecode' 解決方法

最近用intelliJ IDEA 除錯程式碼時顯示Source code does not match the byte code。 後來解決方法是 重新編譯所有的專案,在進行debug 。 或者點選Build->Rebuild Project 也可以。

Android Studio Project debug library show source code does not match the bytecode

最近接手了一些新的工程,裡面用android studio除錯library。在除錯的時候 會發現呼叫某些介面的時候 ide 提示: source code does not match the bytecode 但是看library原始碼的確是匹配的,g

Dynamics CRM Plug-in assembly does not contain the required types or assembly content cannot be...

    我們在使用plugin Registration Tool更新外掛的時候,有時會碰到標題中提示的英文錯誤,具體的error message可以看下面的截圖      這個錯一般都是我們的Assembly中的Plugin和外掛註冊

ERRORS: ?: (staticfiles.E002) The STATICFILES_DIRS setting should not contain the STATIC_ROOT setting.

靜態 static util 問題 失敗 可能 self. load error: Ubuntu下,運行django項目的時候失敗,報錯: (env36) root@JD:~/xueyiwang# python manage.py runserver 0.0.0.0:80

如何處理Eclipse錯誤訊息 The declared package does not match the expected package

我從github下載了一個開源專案後,匯入到自己Eclipse之後,遇到了這個煩人的錯誤訊息: The declared package "com.sap.smartService" does not match the expected package "main.java.com.sap.smartSer

如何處理Eclipse錯誤消息 The declared package does not match the expected package

下載 分享 開源項目 錯誤 rop cte 是我 遇到 images 我從github下載了一個開源項目後,導入到自己Eclipse之後,遇到了這個煩人的錯誤消息: The declared package "com.sap.smartService" does not m

Error: The specified query does not exist\nResponse from attempted peer comms was an error

出現這個錯誤是因為在hyperledger composer playground 上面你的查詢檔名可以是query.qry,但是在真正部署到網路上時候,是會把模型檔案,邏輯檔案,訪問控制檔案,以及查詢檔案都整合到.bna的一個二進位制檔案當中,所以這個查詢檔案的名稱固定為queries

A filter or servlet of the current chain does not support asynchronous operations

(原文是我之前的一個賬號,在17年3月份寫的一篇部落格,那個賬號不打算繼續用了,遷過來) https://blog.csdn.net/alun1314deai/article/details/61195121 非同步請求需要配置,允許其非同步請求才可以,包括servlet和相關的過濾器,一整

MR最大氣溫程式碼實現及hadoop問題 InvalidAuxServiceException: The auxService:mapreduce_shuffle does not exist

第一次執行hadoop jar檔案就報錯誤,從其中找出問題原因:org.apache.hadoop.yarn.exceptions.InvalidAuxServiceException: The auxService:mapreduce_shuffle does not exist hadoop

【java】【MySql】Path does not chain with any of the trust anchors

在客戶現場安裝應用時,應用啟動失敗,錯誤如下: 1 2018-12-12 20:17:44.371 |-ERROR [Druid-ConnectionPool-Create-116919541] com.alibaba.druid.pool.DruidDataSource [2471] -| cre

Purchasing: the name StandardPurchasingModule does not exist in current context.

 The name StandardPurchasingModule.Instance does not exist in current context. The type or namespace IAppleExtensions could not be found 首先是報錯內容

eclipse 中匯入原始碼出現 The declared package does not match the expected package的解決方法

eclipse 匯入專案,有時候會出現 java 檔案圖示由實心J變成空心J的問題,這個時候是不能編輯原始檔的,至於解決辦法就是右鍵該資料夾 – >BuildPath –> use as source folder 當以上問題解決後,如果你選擇的檔

關於編寫WPF UserControl時提示The name 'InitializeComponent' does not exist in the current contextr的解決!

1、開啟.csproj(工程)檔案。 2、找到<Import Project="$(MSBuildBinPath)/Microsoft.CSharp.targets" />這一行 3、在這一行下面新增<Import Project="$(MSBuildBin

解決:The declared package..does not match the expected package..

在MyEclipse中編寫Java程式碼時,用到了BASE64Decoder,import sun.misc.BASE64Decoder;可是Eclipse提示: Access restriction : The type BASE64Decoder is not accessible due to res

the declared package does not match 解決辦法

the declared package does not match 很可能是包名不合規則所造成的,比如包名字上面有特殊符號。最簡單的解決辦法就是更改包名稱。 在專案上面單擊右鍵 選擇Refactor

JUnit的報錯“No tests found with test runner JUnit4”和“The input type of the launch configuration does not exist”

【前言】不爽!!! Eclipse總是報錯: No tests found with test runner JUnit4 首先如下幾點 1 你有沒有匯入Junit包(eclipse中就自帶了)如果用到了spring的測試類有沒匯入 spring-test包 2 你的包版本

django 報錯:ValueError: The database backend does not accept 0 as a value for AutoField.

錯誤原因: 在建立一個model時,其中一個欄位你用了別一個model的做為外來鍵,並且給這個外來鍵設定了一個預設值 ,而這個預設值不適用於鍵model中自動建立 再找一下報錯的指令碼: Applying oiarpt.0004_auto_201708