jitis-android代碼下載地址: https://github.com/jitsi/jitsi-android 這個(gè)里邊已經(jīng)有編譯說明了,但是按照說明沒編譯成功。在網(wǎng)上找了找原因: 具體編譯如下: 1.打開cmd,訂位到j(luò)itis-android目錄,輸入ant setup-libs,會(huì)出現(xiàn)下面錯(cuò)誤信息,編譯出現(xiàn)build.xml:46: sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var 解決錯(cuò)誤解決辦法:ant setup-libs修改成ant -Dsdk.dir=D:android4newsdkadt-bundle-windows-x86-20130729sdk clean setup-libs compile debug,其中D:android4newsdkadt-bundle-windows-x86-20130729sdk為android sdk目錄。 http://comments.gmane.org/gmane.comp.voip.jitsi.devel/6149 2.在輸入ant -Dsdk.dir=D:android4newsdkadt-bundle-windows-x86-20130729sdk clean setup-libs compile debug的時(shí)候如果出現(xiàn)> C:Workspacejitsi-androidbuild.xml:70: Problem: failed to create task or> type getbuildtools> Cause: The name is undefined.> Action: Check the spelling.> Action: Check that any custom tasks/types have been declared.> Action: Check that any / declarations have taken place.請更新最新的sdk就ok了。 現(xiàn)在源碼可以運(yùn)行起來了,這是研究的第一步,代碼還在研究當(dāng)中,有想研究openfire和jitis-android的童鞋們歡迎加我qq787376806來騷擾我。openfire的源碼也編譯成功了,現(xiàn)在正在研究,有想要編譯openfire的童鞋也歡迎加我。