[問題] 編譯 Source Tree 的一個錯誤訊息

看板AndroidDev作者 (休假妳好)時間13年前 (2011/10/25 20:30), 編輯推噓0(006)
留言6則, 2人參與, 最新討論串1/1
今日從 android.googlesource.com repo 了一包 android source tree 沒有做任何修改,在目錄下執行了 make 經過很長的時間,最後出現以下訊息:(以下訊息排版過,^ 所指的位置為 T) [補充] OS: Ubuntu 2.6.38-11-generic x86_64 java -version: 1.6.0_22 javac -version: 1.6.0_22 ------------------------------- Install: out/target/product/generic/system/app/Mms.apktarget Java: CtsVerifier (out/target/common/obj/APPS/CtsVerifier_intermediates/classes) cts/apps/CtsVerifier/src/com/android/cts/verifier/PassFailButtons.java:191: onCreateDialog(int,android.os.Bundle) in android.app.Activity cannot implement onCreateDialog(int,android.os.Bundle) in com.android.cts.verifier.PassFailButtons.PassFailActivity; attempting to assign weaker access privileges; was public private static <T extends android.app.Activity & PassFailActivity> ^ 1 error make: *** [out/target/common/obj/APPS/CtsVerifier_intermediates/classes-full-debug.jar] Error 41 ------------------------------- Google 後沒有得到多大的幫助,所以上來請教一下前輩~ 先謝謝了~~ -- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 60.251.192.1 ※ 編輯: shawnwang 來自: 60.251.192.1 (10/25 20:33)

10/26 10:34, , 1F
CTS..你有要賣機子?還是某公司員工?
10/26 10:34, 1F

10/26 10:35, , 2F
如果個人在測試 CTS可以不用build 直接整個cts資料夾刪了
10/26 10:35, 2F

10/26 10:35, , 3F
如果是某公司員工 那問你同事比較快吧@@
10/26 10:35, 3F

10/26 10:36, , 4F
如果你自己要賣機子?!! 阿 不太可能吧 賣機子掛google要交錢耶
10/26 10:36, 4F

10/26 11:48, , 5F
謝謝回答,純粹自己興趣 repo 下來編譯看看~
10/26 11:48, 5F

10/26 11:48, , 6F
OK~ 我會把 CTS 移除再試看看,thank you!!
10/26 11:48, 6F
文章代碼(AID): #1Efgl_91 (AndroidDev)
文章代碼(AID): #1Efgl_91 (AndroidDev)